题解列表
[编程入门]自定义函数之字符提取
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s,b;int main(){ cin>>s; for(int ……
数据结构-字符串连接 题解
摘要:解题思路:直接输入后连接,最后输出。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;string a,b;int main(){ for(……
自定义函数之字符串反转
摘要:原题链接:[编程入门]自定义函数之字符串反转解题思路:其实跟数字的反转是一样的,倒叙输出就可以了注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#incl……
[编程入门]矩阵对角线求和
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[10][10],t,s;int main(){ for(int i……
蓝桥杯算法提高VIP-字符串比较 题解
摘要:解题思路:直接比较,再按照题目要求输出。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;string a,b;int main(){ ci……
[编程入门]数组插入处理
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; int main(void){ vector<int> arr; in……
蓝桥杯算法训练VIP-最长字符串 题解
摘要:解题思路:就直接输入字符串数组,用字符串长度打擂台,找到长度最大的字符串,输出。注意事项:要用字符串数组。参考代码:#include<bits/stdc++.h>using namespace std……
[编程入门]数字逆序输出
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a[15];int main(){ for(int i=0……