3041: 最大子矩阵 摘要:解题思路:要就复制吧,爱就点赞吧注意事项:参考代码:#include<bits/stdc++.h> using namespace std; long long x,n,a[105][105],s…… 题解列表 2023年01月05日 0 点赞 0 评论 421 浏览 评分:9.9
3041: 最大子矩阵 摘要:解题思路:1.s[][]为和第二个循环为来赋s的初值。 2.第三个循环来算x与mx判断哪个大 3.输出注意事项:要定义mx和x i2,i1,j1,j2 不要弄混参考代码:#include<bit…… 题解列表 2023年01月05日 0 点赞 0 评论 364 浏览 评分:9.9
3042: 金银岛 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; struct a{ double mi,vi,zi; }b[10000…… 题解列表 2023年01月05日 0 点赞 0 评论 573 浏览 评分:9.9
2998: 电影票(极为简单) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a; cin>>a; …… 题解列表 2023年01月05日 0 点赞 0 评论 883 浏览 评分:9.9
编写题解 2239: 蓝桥杯算法训练-动态数组使用 摘要:解题思路:注意事项:参考代码:#include <malloc.h> //所需的头文件 #include <stdio.h> int main() { int *a, n; int…… 题解列表 2023年01月05日 0 点赞 0 评论 223 浏览 评分:9.9
1031: [编程入门]自定义函数之字符串反转 【c++】 摘要:解题思路:用string 类型来解决 并用下标访问 循环逆序打出字符串注意事项: 为了方便没有定义一个函数 就写了主函数参考代码:#include<iostream>#include<string>u…… 题解列表 2023年01月05日 0 点赞 0 评论 668 浏览 评分:9.9
1366: 超级书架2 摘要:解题思路:运用快排、while循环;注意事项:参考代码:#include<bits/stdc++.h> using namespace std; long long n,b,a[20005]; …… 题解列表 2023年01月05日 0 点赞 0 评论 296 浏览 评分:9.9
1206: 字符串问题 摘要:```cpp #include #include using namespace std; int main() { char a[300]; gets(a); …… 题解列表 2023年01月05日 0 点赞 0 评论 337 浏览 评分:9.9
两个数组,对应输出 摘要:一、解题思路: 拿两个数组,一个字符数组ch存放所有字符,另一个动态数组b存放对应的个数。输出时对应着输出即可。用n表示输入n行,ans计数。用动态数组str存放输入的所有字符串。flag用于比较…… 题解列表 2023年01月05日 0 点赞 0 评论 418 浏览 评分:9.9
1207: 字符排列问题 摘要:```cpp #include #include using namespace std; int main() { int sum=0,n; char str[20];…… 题解列表 2023年01月05日 0 点赞 0 评论 320 浏览 评分:9.9