[编程入门]自定义函数之字符提取 (C语言代码)不怎么符合题意,但能过就行! 摘要:解题思路:按题模拟注意事项:无参考代码:#include<stdio.h>int main(){ char a[100],*pa; int i; gets(a); for(i=0,pa=a;*(pa+…… 题解列表 2019年06月02日 0 点赞 0 评论 1241 浏览 评分:0.0
[编程入门]自定义函数之字符串拷贝 (C语言代码)用指针更简单! 摘要:解题思路:用指针解决注意事项:无参考代码:#include<stdio.h>int main(){ int n,m; char a[100]; scanf("%d",&n); getchar(); g…… 题解列表 2019年06月02日 0 点赞 0 评论 858 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码)很简单啊 摘要:解题思路:按题模拟!注意事项:无参考代码:#include<stdio.h>#include<math.h>int main(){ int n; int a[6][6]; int i,j,mi,mj;…… 题解列表 2019年06月02日 0 点赞 0 评论 615 浏览 评分:0.0
C语言训练-字符串正反连接 (C语言代码)。。不怎么符合题意 摘要:解题思路:模拟题意注意事项:无参考代码:#include<stdio.h>#include<string.h>int main(){ char a[51]; int len,i; gets(a); l…… 题解列表 2019年06月02日 0 点赞 0 评论 847 浏览 评分:0.0
姜太公钓鱼 (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 评论 780 浏览 评分:0.0
蓝桥杯算法提高VIP-分数统计 (C语言代码)。。。。。还算简单,但是看错数字,导致开的内存不够。。。浪费了半个多小时。 摘要:解题思路:按题目,存储,比较再排序注意事项:一定要看清楚输入的成绩个数是1000以内!!!!成绩范围才是一百以内。参考代码:#include<stdio.h>int main(){ int n,i,k…… 题解列表 2019年06月02日 0 点赞 0 评论 1116 浏览 评分: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 评论 535 浏览 评分: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 评论 577 浏览 评分: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 评论 523 浏览 评分: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 评论 711 浏览 评分:0.0