姜太公钓鱼 (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 评论 1093 浏览 评分: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 评论 1278 浏览 评分: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 评论 981 浏览 评分:0.0
[编程入门]自定义函数之字符串拷贝 (C语言代码)用指针更简单! 摘要:解题思路:用指针解决注意事项:无参考代码:#include<stdio.h>int main(){ int n,m; char a[100]; scanf("%d",&n); getchar(); g…… 题解列表 2019年06月02日 0 点赞 0 评论 1344 浏览 评分:0.0
[编程入门]自定义函数之字符提取 (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 评论 1710 浏览 评分:0.0
数列问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; int a=3,b=4,c=5; int sum=0; scanf("%d",&n); for…… 题解列表 2019年06月02日 0 点赞 0 评论 1120 浏览 评分:0.0
哥德巴赫曾猜测 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int fun(int n){ int i; for(i=2;i*i<=n;i++) if(n%i==0)return 0; retur…… 题解列表 2019年06月02日 0 点赞 0 评论 902 浏览 评分:0.0
C语言训练-谁家孩子跑最慢* (C语言代码) 摘要:解题思路: 多重循环。注意事项: 每个孩子的成绩唯一,为1-9中的一个。参考代码: #include<stdio.h>int main(){ int l1 = 9, l2, l3; …… 题解列表 2019年06月02日 0 点赞 0 评论 1254 浏览 评分:9.3
[编程入门]自定义函数之字符串拷贝 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(){ char a[100]; int n,m,i; scanf("%d",&n);…… 题解列表 2019年06月02日 2 点赞 1 评论 1640 浏览 评分:9.9
[编程入门]自定义函数之数字后移 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(){ int a[100]; int n,m,i; scanf("%d",&n); for…… 题解列表 2019年06月02日 2 点赞 0 评论 1569 浏览 评分:8.5