蓝桥杯算法训练VIP-判定字符位置 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#define N 1000int main(){ char a[N]; int i; scanf(…… 题解列表 2019年04月14日 1 点赞 1 评论 1695 浏览 评分:6.0
字符串链接 (C语言代码)还可以这题!!! 摘要:解题思路:思路如下注意事项:参考代码:(复制到编译器上看,更加方便!!!)#include<stdio.h>#include<string.h>void mystrcat(char dststr[],…… 题解列表 2019年04月14日 0 点赞 0 评论 1143 浏览 评分:0.0
字符串排序 (C语言代码)卡了比较久的。。。 摘要:解题思路:思路还可以。。注意事项:需要用getchar()吞掉‘\n’; 还有,我觉得需要注意n的值,如果n<=0,就要while(n<=0) scanf("%d",&n);参考代码:…… 题解列表 2019年04月14日 0 点赞 0 评论 1673 浏览 评分: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 评论 587 浏览 评分: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 评论 733 浏览 评分:2.0
字符串排序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<algorithm> using namespace std; str…… 题解列表 2019年04月14日 0 点赞 0 评论 1424 浏览 评分: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 评论 704 浏览 评分: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 评论 713 浏览 评分: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 评论 653 浏览 评分: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 评论 656 浏览 评分:0.0