蓝桥杯算法提高VIP-不同单词个数统计 (C语言代码)结果没问题,但是提交答案错误,求大神指教! 摘要:参考代码如下:#include <stdio.h> #include <string.h> int main(void) { char str[100]; gets(st…… 题解列表 2018年05月06日 2 点赞 0 评论 1512 浏览 评分:9.9
蓝桥杯算法提高VIP-分数统计 (C语言代码)正常思路求解,很简单,但有点点麻烦 摘要:参考代码如下:#include <stdio.h> #include <string.h> void printarr(int *a, int len) { int i, j; …… 题解列表 2018年05月06日 0 点赞 0 评论 1540 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.2 (C++代码) 摘要:解题思路:注意事项:直接设变量取模参考代码:#include<cstdio> #include<stdio.h> int main() { int a,b,c;\\c变量取模 scanf("…… 题解列表 2018年05月06日 8 点赞 1 评论 1346 浏览 评分:2.5
2004年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { int a[10],i,min,k,temp; for(i …… 题解列表 2018年05月06日 0 点赞 0 评论 764 浏览 评分:0.0
C二级辅导-阶乘数列 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> double jiecheng(int x) { int i; double num = 1.0; for(i = 1…… 题解列表 2018年05月06日 0 点赞 0 评论 1160 浏览 评分:0.0
C二级辅导-统计字符 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int letter = 0,number = 0,blank = 0,others = 0,…… 题解列表 2018年05月06日 0 点赞 0 评论 1014 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路和注意事项:isprime()函数中,判断是否为素数从除2开始到除x-1结束,如果期间有一个能被整除,则返回0;如果都不能被整除,判断其是否大于1,大于1返回1,否则返回0。在main()函数…… 题解列表 2018年05月06日 0 点赞 0 评论 1128 浏览 评分:0.0
优质题解 蓝桥杯算法训练VIP-数的统计 (C语言代码)两种思路求解,欢迎参考 摘要:1) 第一种思路很简单,在全局定义一个大数组,所有元素初始为0,每输入一个数时,就在以这个数为数组下标的元素加一,最后输出结果。参考代码如下:#include <stdio.h> int arr…… 题解列表 2018年05月06日 1 点赞 4 评论 4013 浏览 评分:8.5
C语言程序设计教程(第三版)课后习题11.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> struct student { char sno[20]; char sname[20]; int cj1; …… 题解列表 2018年05月06日 0 点赞 0 评论 1521 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.3 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> struct student { char sno[20]; char sname[20]; int cj1; i…… 题解列表 2018年05月06日 0 点赞 0 评论 1044 浏览 评分:0.0