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 评论 972 浏览 评分:0.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 评论 590 浏览 评分: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 评论 824 浏览 评分:0.0
字符逆序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main(){ char a[100]; gets(a); for(in…… 题解列表 2017年10月22日 0 点赞 0 评论 931 浏览 评分:0.0
字符串的输入输出处理 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int n,i,j; char str[100][1000]; scanf("%d",&n); …… 题解列表 2017年10月22日 6 点赞 0 评论 1446 浏览 评分: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 评论 813 浏览 评分: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 评论 995 浏览 评分:0.0
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 评论 1125 浏览 评分:0.0
IP判断 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> #include<stdlib.h> int main(){ char str[100…… 题解列表 2017年10月22日 0 点赞 0 评论 786 浏览 评分:0.0
Tom数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main(){ char a[100][1000]; int sum=0,i…… 题解列表 2017年10月22日 1 点赞 1 评论 1012 浏览 评分:0.0