P1001 (C语言代码) 摘要:解题思路:注意事项:素数<2情况不能忽略,报错n次没发现问题。参考代码:#include<stdio.h>#include<math.h>int isprime(int num){ int i; if…… 题解列表 2019年06月03日 0 点赞 0 评论 1487 浏览 评分:0.0
[编程入门]报数问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n , i , nums[5000] = {0} , len , m = 0; scanf(…… 题解列表 2019年06月03日 0 点赞 0 评论 1405 浏览 评分:0.0
[编程入门]三个字符串的排序 (C语言代码)暴力解决。。。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#define N 100int main(){ char a[N],b[N],c[N…… 题解列表 2019年06月03日 0 点赞 0 评论 1163 浏览 评分:0.0
多输入输出练习2 (C语言代码) 摘要:解题思路:注意事项:没啥别的,注意pi是3.1415,保留4位。参考代码:#include<stdio.h>#define pi 3.1415int main(){ int n,i; sc…… 题解列表 2019年06月03日 0 点赞 0 评论 1049 浏览 评分:0.0
[编程入门]数字的处理与判断 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(void){ int a,n,k=0,i,m,sum=0; scanf("%d",&a…… 题解列表 2019年06月03日 0 点赞 0 评论 1020 浏览 评分:0.0
蓝桥杯算法提高VIP-素数求和 (C语言代码)虚假,还以为会卡数据大小呢 摘要:解题思路:如题模拟注意事项:无参考代码:#include<stdio.h>int main(){ int n,i,j; int sig; long long sum=0; scanf("%d",&n)…… 题解列表 2019年06月02日 0 点赞 0 评论 952 浏览 评分:0.0
蓝桥杯算法提高VIP-分数统计 (C语言代码)。。。。。还算简单,但是看错数字,导致开的内存不够。。。浪费了半个多小时。 摘要:解题思路:按题目,存储,比较再排序注意事项:一定要看清楚输入的成绩个数是1000以内!!!!成绩范围才是一百以内。参考代码:#include<stdio.h>int main(){ int n,i,k…… 题解列表 2019年06月02日 0 点赞 0 评论 1670 浏览 评分:0.0
统计字母个数 (C语言代码)代码较少的解法! 摘要:解题思路:如题模拟注意事项:无参考代码:#include<stdio.h>int main(){ char x,b[28]=" abcdefghijklmnopqrstuvwxyz"; int a[2…… 题解列表 2019年06月02日 0 点赞 1 评论 915 浏览 评分:6.0
数列问题 (C语言代码)挺简单的 摘要:解题思路:按题模拟注意事项:无参考代码:#include<stdio.h>int main(){ int n,i; int a=3,b=4,c=5,sum; scanf("%d",&n); if(n=…… 题解列表 2019年06月02日 0 点赞 0 评论 1351 浏览 评分:9.9
姜太公钓鱼 (C语言代码)简单 摘要:解题思路:按题模拟注意事项:无参考代码:#include<stdio.h>int main(){ int n,a[100]; int i,sig=0; scanf("%d",&n); for(i=0;…… 题解列表 2019年06月02日 0 点赞 0 评论 1125 浏览 评分:0.0