题解列表

筛选

[编程入门]二维数组的转置

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[10][10];int main(){    for(int i=0;i……

三个字符串的排序

摘要:解题思路:直接排序,暴力。注意事项:sort(里a是加3);参考代码:#include<bits/stdc++.h>using namespace std;string a[3]; int main(……

[编程入门]数字逆序输出

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a[15];int main(){    for(int i=0……

蓝桥杯算法训练VIP-最长字符串 题解

摘要:解题思路:就直接输入字符串数组,用字符串长度打擂台,找到长度最大的字符串,输出。注意事项:要用字符串数组。参考代码:#include<bits/stdc++.h>using namespace std……

矩阵对角线求和

摘要:解题思路:暴力枚举注意事项:注意数组的起始项参考代码:#include<bits/stdc++.h>using namespace std;long long a[15],s,t;int main()……

[编程入门]数组插入处理

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; int main(void){    vector<int> arr;    in……