题解列表

筛选

核桃的数量(C语言代码)

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

[编程入门]求和训练-题解(C语言代码)

摘要:解题思路:运用for循环来处理,通过三个循环来求得预期结果。注意事项:第三个for循环为1.0/i;否则答案会有问题参考代码:#include"stdio.h"#include"math.h"int ……