DNA (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int n,a[15],b[15],i,j,k,c,d; scanf("%d",&n); for…… 题解列表 2017年10月22日 0 点赞 0 评论 1142 浏览 评分:0.0
蛇行矩阵 (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 评论 1032 浏览 评分: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 评论 846 浏览 评分:0.0
字符串的输入输出处理 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int n,i,j; char str[100][1000]; scanf("%d",&n); …… 题解列表 2017年10月22日 6 点赞 0 评论 1467 浏览 评分:0.0
字符逆序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main(){ char a[100]; gets(a); for(in…… 题解列表 2017年10月22日 0 点赞 0 评论 937 浏览 评分: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 评论 845 浏览 评分: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 评论 1226 浏览 评分: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 评论 600 浏览 评分: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 评论 987 浏览 评分: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 评论 972 浏览 评分:0.0