[编程入门]自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s,b;int main(){ cin>>s; for(int …… 题解列表 2022年05月06日 0 点赞 0 评论 307 浏览 评分:0.0
数据结构-字符串连接 题解 摘要:解题思路:直接输入后连接,最后输出。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;string a,b;int main(){ for(…… 题解列表 2022年05月06日 0 点赞 0 评论 399 浏览 评分:0.0
自定义函数之字符串反转 摘要:原题链接:[编程入门]自定义函数之字符串反转解题思路:其实跟数字的反转是一样的,倒叙输出就可以了注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#incl…… 题解列表 2022年05月06日 0 点赞 0 评论 312 浏览 评分:0.0
[编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[10][10],t,s;int main(){ for(int i…… 题解列表 2022年05月06日 0 点赞 0 评论 274 浏览 评分:0.0
蓝桥杯算法提高VIP-字符串比较 题解 摘要:解题思路:直接比较,再按照题目要求输出。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;string a,b;int main(){ ci…… 题解列表 2022年05月06日 0 点赞 0 评论 318 浏览 评分:0.0
[编程入门]数组插入处理 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; int main(void){ vector<int> arr; in…… 题解列表 2022年05月06日 0 点赞 0 评论 262 浏览 评分:0.0
矩阵对角线求和 摘要:解题思路:暴力枚举注意事项:注意数组的起始项参考代码:#include<bits/stdc++.h>using namespace std;long long a[15],s,t;int main()…… 题解列表 2022年05月06日 0 点赞 0 评论 277 浏览 评分:0.0
蓝桥杯算法训练VIP-最长字符串 题解 摘要:解题思路:就直接输入字符串数组,用字符串长度打擂台,找到长度最大的字符串,输出。注意事项:要用字符串数组。参考代码:#include<bits/stdc++.h>using namespace std…… 题解列表 2022年05月06日 0 点赞 0 评论 332 浏览 评分:0.0
[编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a[15];int main(){ for(int i=0…… 题解列表 2022年05月06日 0 点赞 0 评论 313 浏览 评分:0.0
三个字符串的排序 摘要:解题思路:直接排序,暴力。注意事项:sort(里a是加3);参考代码:#include<bits/stdc++.h>using namespace std;string a[3]; int main(…… 题解列表 2022年05月06日 0 点赞 0 评论 365 浏览 评分:0.0