C二级辅导-计负均正 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int i,a[20],count=0,count1=0; double sum=0; for(…… 题解列表 2017年10月22日 0 点赞 0 评论 968 浏览 评分:0.0
C二级辅导-公约公倍 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int a,b,max,min; scanf("%d %d",&a,&b); max=a>b?a…… 题解列表 2017年10月22日 0 点赞 0 评论 762 浏览 评分:0.0
C二级辅导-统计字符 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main(){ char a[100],n1=0,n2=0,n3=0,n4=0;…… 题解列表 2017年10月22日 0 点赞 0 评论 874 浏览 评分:0.0
C二级辅导-阶乘数列 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ double sum=0,sum1=1; int i,j; for(i=1;i<31;i++){…… 题解列表 2017年10月22日 0 点赞 0 评论 775 浏览 评分: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 评论 399 浏览 评分: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 评论 964 浏览 评分: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 评论 973 浏览 评分: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
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 评论 1221 浏览 评分:6.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 评论 828 浏览 评分:0.0