题解列表

筛选

P1027 (C语言代码)

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

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

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

教学楼的楼梯 (C语言代码)

摘要:解题思路:f(n) =    1, (n = 1, 2)    f(n - 1) + f(n - 2), (n > 2)我还是要打表。参考代码:#include<stdio.h> #define……

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

摘要:解题思路:a+b只是简单的加法计算,只要输入和输出就可以注意事项:有输入输出示例可知是多次输入多次输出,所以要使用循环语句,只要注意结束标志就可以了。参考代码:#include<stdio.h>int……