题解列表

筛选

printf基础练习2 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <stdio.h>               int main(){    int a;     scanf("%d",&a);     printf……

母牛的故事 (C语言代码)

摘要:解题思路:首先提取题目主干信息:每年年初生一头母牛 每次生的牛每四年可以生一头牛;n代表年数 f[n]代表牛数n=1 f[1]=1; //第一年有一头牛这头牛是最开始的母牛;n=2 f[2]=2; /……

采药 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <cstdlib>#include<iostream>using namespace std;int s[1001];int main(int argc……

母牛的故事 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>             int main()             int bull[54],b,a,i;             ……

简单的a+b (C语言代码)

摘要:解题思路加减运算,不会来找我,我教你;使用尽可能少的代码解决问题!注意事项:加减运算!参考代码:main(a,b){while(scanf("%d%d",&a,&b)==2){printf("%d\n……