题解列表

筛选

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

摘要:解题思路:    将每前四年产的牛数放到一个一维数组中(四个数据),每隔四年刷数组内该处的数据注意事项:要注意年限以及增长规律参考代码:#include<stdio.h>void main(void)……

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

摘要:解题思路:看题目,想类型,写代码。注意事项:函数的类型,符号。参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); print……

【计算球体积】 (C语言代码)

摘要:解题思路:看题目,想代码,写代码。注意事项: 函数类型,代码。参考代码:#include<stdio.h>#define PI 3.1415int main(){ float r,v; scanf("……

买不到的数目 (C语言代码)

摘要:解题思路:一个公式,两个数最大不能组合的数为两个数之积减去两个数之和。注意事项:参考代码:#include<stdio.h>int main(){    int a,b;    scanf("%d%d……

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

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