2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码)水啊,水啊,水经验啊! 摘要:解题思路:随便你注意事项:无参考代码:#include<stdio.h>int main(){ int a[10]; int k=0,i,sum=0; float avg; for(i=0;i<10;…… 题解列表 2019年05月12日 0 点赞 0 评论 582 浏览 评分:0.0
C二级辅导-等差数列 (C语言代码)水经验的路过!! 摘要:解题思路:随便你!注意事项:无参考代码:#include<stdio.h>int main(){ int n; int i,j; int sum=0; scanf("%d",&n); for(i=1,…… 题解列表 2019年05月12日 0 点赞 0 评论 879 浏览 评分:0.0
C二级辅导-公约公倍 (C语言代码)水经验!! 摘要:解题思路:随便你注意事项:无参考代码:#include<stdio.h>int main(){ int m,n; int m1,n1; int b; scanf("%d%d",&m,&n); m1=m…… 题解列表 2019年05月12日 0 点赞 0 评论 755 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码)水经验!!! 摘要:解题思路:随便你注意事项:无!参考代码:#include<stdio.h>#include<math.h>int main(){ int a[10]; int i,m,t; for(i=0;i<10;…… 题解列表 2019年05月12日 0 点赞 0 评论 689 浏览 评分:0.0
字符逆序 (C语言代码)水经验!! 摘要:解题思路:随便你注意事项:无参考代码:#include<stdio.h>#include<string.h>#define N 101int main(){ char a[N]; int len,i;…… 题解列表 2019年05月12日 0 点赞 0 评论 946 浏览 评分:0.0
[编程入门]结构体之成绩记录 (C语言代码)水经验!! 摘要:解题思路:随便你!!注意事项:无!参考代码:#include<stdio.h>struct stu{ char num[10]; char name[20]; int a; int b; int c;…… 题解列表 2019年05月12日 0 点赞 0 评论 873 浏览 评分:0.0
[编程入门]自定义函数之字符串拷贝 (C语言代码) 摘要:解题思路:注意事项:第一个scanf一定一定加\n!否则gets会把样例的回车当做字符开头;strcpy可以从字符串的中间复制;定义n个字符字符串要char s[n+1]参考代码:#include<s…… 题解列表 2019年05月12日 0 点赞 0 评论 732 浏览 评分:0.0
蓝桥杯2014年第五届真题-Log大侠 (C语言代码)普通模拟(比较简洁) 摘要:解题思路:首先,这中写法是过不了原题的数据量的(有兴趣的可以看看我对本题的另一个题解,用线段树写的);但是在我们的网站中普通模拟的方法是可以过的。模拟虽然能过,但也有技巧进行优化代码,是代码更简洁。因…… 题解列表 2019年05月12日 11 点赞 0 评论 1794 浏览 评分:0.0
断点试试(仅限新手,理解快) 摘要:解题思路:可以分成两段,一段段输出,一段大的一段小的,中间输出插入数注意事项:仅限排列好的数组参考代码:#include<stdio.h>#define n 9int main(){ int i,k,…… 题解列表 2019年05月12日 0 点赞 0 评论 752 浏览 评分:0.0
蓝桥杯算法提高VIP-删除数组中的0元素 (C语言代码) 摘要:参考代码:#include<stdio.h>int A(int *, int);int main(void){ int n, a[1000],m; scanf("%d", &n); …… 题解列表 2019年05月12日 1 点赞 0 评论 833 浏览 评分:0.0