蛇行矩阵 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int n,i=1,i1=1,j=1,j1=1,k=1,k1=1; scanf("%d",&n);…… 题解列表 2017年10月22日 3 点赞 0 评论 1126 浏览 评分:0.0
The 3n + 1 problem (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int i,j=0,n[100],m[100],count=0,sum[100]={0},k=0,a=0…… 题解列表 2017年10月22日 0 点赞 0 评论 885 浏览 评分:0.0
字符串的输入输出处理 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int n,i,j; char str[100][1000]; scanf("%d",&n);…… 题解列表 2017年10月22日 6 点赞 0 评论 1543 浏览 评分:0.0
字符逆序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main(){ char a[100]; gets(a); for(in…… 题解列表 2017年10月22日 0 点赞 0 评论 973 浏览 评分:0.0
用筛法求之N内的素数。 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int a[50]={2,3,5,7},i,j,flag=1,n; scanf("%d",&n);…… 题解列表 2017年10月22日 0 点赞 0 评论 904 浏览 评分:0.0
Hello, world! (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int a,i=0,b[100];; while(~scanf("%d",&a)){ b[i+…… 题解列表 2017年10月22日 0 点赞 0 评论 1288 浏览 评分:6.0
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> double fact(int n){ double a=1; for(int i=1;i<=n;i++){ a*=i…… 题解列表 2017年10月22日 0 点赞 0 评论 638 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int n,n1=0,n2=0,n3=0; scanf("%d",&n); while(n>0)…… 题解列表 2017年10月22日 0 点赞 0 评论 1041 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int ctof(int c){ return 32+c*9/5; } int main(){ for(int i=-1…… 题解列表 2017年10月22日 0 点赞 0 评论 996 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main(){ int a[10],i,min,j; for(i=0;i<10;…… 题解列表 2017年10月22日 0 点赞 1 评论 424 浏览 评分:0.0