蓝桥杯算法训练VIP-比较字符串-题解(C++代码) 摘要:``` #include #include using namespace std; char s1[105],s2[105]; int main(void) { c…… 题解列表 2020年06月22日 0 点赞 0 评论 664 浏览 评分:0.0
C语言训练-求s=a+aa+aaa+aaaa+aa...a的值-题解(C语言代码)简单易懂 摘要:参考代码:#include<stdio.h> int main() { int i,a,n,s=0,m; scanf("%d%d",&a,&n); m=a; for(i=1;i<=…… 题解列表 2020年06月22日 0 点赞 0 评论 1320 浏览 评分:9.9
蓝桥杯算法训练VIP-比赛安排-题解(C++代码)标记法轻松解决 摘要:``` #include #include using namespace std; int vis[100]; // 用于每天比赛标记队伍,为了每天都不出现重复的队 int ma…… 题解列表 2020年06月22日 0 点赞 0 评论 1050 浏览 评分:9.9
C语言训练-求具有abcd=(ab+cd)2性质的四位数-题解(Java代码) 摘要:解题思路:注意事项:这个题是真的坑。。。。。。题目给的是输出间隔两个空格,非要验证一个空格才通过参考代码:public class Main { public static void main(…… 题解列表 2020年06月22日 0 点赞 0 评论 682 浏览 评分:0.0
校门外的树-题解(C语言代码) 摘要:解题思路: 将树的形象抽象化,既用数组元素的个数表示树的个数。 参考代码: ```c #include #include int main(int argc, char* argv…… 题解列表 2020年06月22日 0 点赞 0 评论 995 浏览 评分:0.0
蓝桥杯算法训练VIP-最长字符串-题解(C++代码) 摘要:``` #include #include using namespace std; struct strings_st{ string st; int sizes; };…… 题解列表 2020年06月22日 0 点赞 0 评论 680 浏览 评分:0.0
蓝桥杯算法训练VIP-最大体积-题解(C++代码)标记法 摘要:``` #include using namespace std; int a[15]; int vis[200005]; int n; int main() { cin>>…… 题解列表 2020年06月22日 0 点赞 0 评论 1298 浏览 评分:9.9
C语言训练-尼科彻斯定理-题解(C语言代码)理解题意,代码其实很容易 摘要:参考代码:#include<stdio.h> int main() { int i,j,n,s=0; scanf("%d",&n); for(i=1;i<=n*n*n;i+=2) …… 题解列表 2020年06月22日 0 点赞 0 评论 1099 浏览 评分:9.9
C语言训练-字符串正反连接-题解(C语言代码)务必熟练使用字符串库函数 摘要:解题思路:字符串长度函数:strlen();字符串连接函数:strcat();参考代码:#include<stdio.h> #include<string.h> int fun(char a[],…… 题解列表 2020年06月22日 0 点赞 1 评论 883 浏览 评分:8.7
C语言训练-大、小写问题-题解(C语言代码)大小写转换详细思路 摘要:解题思路:首先要知晓大写字母和小写字母的转换。字母'A'的ASCII码为65(十六进制41H),字母'a'的ASCII码为97(十六进制61H),之后其他各字母按排列顺…… 题解列表 2020年06月22日 0 点赞 0 评论 1367 浏览 评分:9.9