题解列表

筛选

核电站问题 (C语言代码)

摘要:解题思路:a[i]=a[i-1]*2-a[i-4]注意事项:参考代码:#include<stdio.h>int main(){int a[41],i,y;while(scanf("%d",&y)!= ……

杨辉三角 (C语言代码)

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

敲七游戏 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int xt(int x); // 判断数据中是否含7int main(){ int n, i, t = 0; scanf("%d",……