[编程入门]数字的处理与判断 (C语言代码) 摘要:解题思路:利用字符串注意事项:参考代码: #include<stdio.h>#include<string.h>int main(void){ char arr1[6]; int i, n; i…… 题解列表 2019年04月19日 0 点赞 0 评论 616 浏览 评分:0.0
蓝桥杯算法提高VIP-不同单词个数统计(字典树)----momoc 摘要:解题思路:使用字典树来解。字典树传送门。https://blog.csdn.net/qq_38891827/article/details/80532462注意事项: 边插入边统计,如果当前字符…… 题解列表 2019年04月20日 1 点赞 0 评论 779 浏览 评分:0.0
输出字符'A'个数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); for(int i=0;i<n;i++){ …… 题解列表 2019年04月20日 2 点赞 0 评论 890 浏览 评分:0.0
[编程入门]有规律的数列求和 (C语言代码) 摘要:解题思路:先利用数学知识找出其中的关系,后一项的分母为前一项的分子,后一项的分子为前一项的分母加该项的分母。注意事项:此处各变量均不能定义为整数型,若定义为整数型,最后的结果将一直为整数,导致解题错误…… 题解列表 2019年04月20日 0 点赞 0 评论 540 浏览 评分:0.0
[编程入门]实数的打印 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double n; scanf("%lf",&n); printf("%6.2f\n",n); printf("…… 题解列表 2019年04月20日 0 点赞 0 评论 625 浏览 评分:0.0
C二级辅导-求偶数和 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,sum=0,n,k; scanf("%d",&n); for(i=1;i<n+1;i++) { …… 题解列表 2019年04月20日 0 点赞 0 评论 590 浏览 评分:0.0
[编程入门]求和训练 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c,Sn=0,X=0,Xn=0,i,j,l; float Y=0,Yn=0; scanf("%…… 题解列表 2019年04月20日 1 点赞 0 评论 677 浏览 评分:0.0
程序员的表白 (C语言代码)想表白的赶紧来看题解了。(#^.^#)!!! 摘要:解题思路:直接输出,不用开字符数组!!1注意事项:每两个u之间有换行。。所以printf("\n\n")参考代码:#include<stdio.h>#include<string.h>#define …… 题解列表 2019年04月20日 0 点赞 0 评论 545 浏览 评分:0.0
大神老白 (C语言代码)这题也太水了吧。。。 摘要:解题思路:简单。。。注意事项:无参考代码:#include<stdio.h>#include<math.h>int main(){ int n; int i,x,sum; while(scanf("%…… 题解列表 2019年04月20日 0 点赞 0 评论 599 浏览 评分:0.0
震宇大神的杀毒软件 (C语言代码)冒泡排序,选择排序,选一个!! 摘要:解题思路:冒泡排序!!!注意事项:无!!参考代码:#include<stdio.h>#define N 100int main(){ int n,a[N]; int i,t,j; while(scan…… 题解列表 2019年04月20日 0 点赞 0 评论 854 浏览 评分:0.0