字符串排序 (C语言代码)卡了比较久的。。。 摘要:解题思路:思路还可以。。注意事项:需要用getchar()吞掉‘\n’; 还有,我觉得需要注意n的值,如果n<=0,就要while(n<=0) scanf("%d",&n);参考代码:…… 题解列表 2019年04月14日 0 点赞 0 评论 2013 浏览 评分:9.9
字符逆序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int k,i; char str[100]; gets(str); k=s…… 题解列表 2019年04月14日 0 点赞 0 评论 842 浏览 评分:0.0
字符逆序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int k,i; char str[100]; gets(str); k=s…… 题解列表 2019年04月14日 0 点赞 0 评论 995 浏览 评分:2.0
字符串排序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<algorithm> using namespace std; str…… 题解列表 2019年04月14日 0 点赞 0 评论 1727 浏览 评分:2.0
蓝桥杯算法提高VIP-字符串比较 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int k; char st1[100]; char st2[100]; s…… 题解列表 2019年04月14日 0 点赞 0 评论 1022 浏览 评分:0.0
[编程入门]结构体之成绩记录 (C语言代码)不用函数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char xue[100],name[100]; int x1,x2,x3,i,n; s…… 题解列表 2019年04月14日 0 点赞 1 评论 1050 浏览 评分:3.6
查找最小的k个元素 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,k,n,a[10000],x,t; scanf("%d %d",&n,&x); for(i=0;…… 题解列表 2019年04月14日 0 点赞 0 评论 942 浏览 评分:0.0
[编程入门]完数的判断 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,sum,n; scanf("%d",&n); for(i=0;i<n;i++) { for(i…… 题解列表 2019年04月14日 1 点赞 0 评论 991 浏览 评分:0.0
[编程入门]数字逆序输出 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10],i,j; for(i=0;i<10;i++) scanf("%d…… 题解列表 2019年04月14日 0 点赞 0 评论 1226 浏览 评分:0.0
[编程入门]自由下落的距离计算 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double M=0,sum=0; int i,N; scanf("%lf %d",&M,&N); for(i=…… 题解列表 2019年04月14日 0 点赞 0 评论 1288 浏览 评分:0.0