妹子杀手的故事 (C语言代码)只能水题了。。。。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(scanf("%d %d\n",&a,&b)!=EOF&&a&&b) { …… 题解列表 2019年04月19日 0 点赞 0 评论 565 浏览 评分:0.0
GC的苦恼 (C语言代码)百思不得其解的正确率!!!很简单好吧!!! 摘要:解题思路:if语句划分区间注意事项:if语句的否定特性!!利用这个特性可以在定区间的时候简化代码!!!参考代码:#include<stdio.h>int main(){ int x; while(sc…… 题解列表 2019年04月19日 0 点赞 0 评论 681 浏览 评分:0.0
第几天 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[13]={0,31,28,31,30,31,30,31,31,30,31,30,31}; int n…… 题解列表 2019年04月19日 0 点赞 0 评论 816 浏览 评分:0.0
检查一个数是否为质数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,k; scanf("%d",&n); for(i=2;i<n;i++) { if(n%i==0…… 题解列表 2019年04月19日 0 点赞 0 评论 866 浏览 评分:0.0
[编程入门]三个数字的排序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3],s; for(int i=0;i<3;i++){ scanf("%d…… 题解列表 2019年04月19日 2 点赞 0 评论 1087 浏览 评分:0.0
[编程入门]数字的处理与判断 (C语言代码) 摘要:解题思路:利用字符串注意事项:参考代码: #include<stdio.h>#include<string.h>int main(void){ char arr1[6]; int i, n; i…… 题解列表 2019年04月19日 0 点赞 0 评论 729 浏览 评分:0.0
蓝桥杯算法提高VIP-不同单词个数统计(字典树)----momoc 摘要:解题思路:使用字典树来解。字典树传送门。https://blog.csdn.net/qq_38891827/article/details/80532462注意事项: 边插入边统计,如果当前字符…… 题解列表 2019年04月20日 1 点赞 0 评论 977 浏览 评分: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 评论 1082 浏览 评分:0.0
[编程入门]有规律的数列求和 (C语言代码) 摘要:解题思路:先利用数学知识找出其中的关系,后一项的分母为前一项的分子,后一项的分子为前一项的分母加该项的分母。注意事项:此处各变量均不能定义为整数型,若定义为整数型,最后的结果将一直为整数,导致解题错误…… 题解列表 2019年04月20日 0 点赞 0 评论 635 浏览 评分:0.0
[编程入门]实数的打印 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double n; scanf("%lf",&n); printf("%6.2f\n",n); printf("…… 题解列表 2019年04月20日 0 点赞 0 评论 781 浏览 评分:0.0