题解列表
3041: 最大子矩阵
摘要:解题思路:要就复制吧,爱就点赞吧注意事项:参考代码:#include<bits/stdc++.h>
using namespace std;
long long x,n,a[105][105],s……
3041: 最大子矩阵
摘要:解题思路:1.s[][]为和第二个循环为来赋s的初值。
2.第三个循环来算x与mx判断哪个大
3.输出注意事项:要定义mx和x
i2,i1,j1,j2 不要弄混参考代码:#include<bit……
2998: 电影票(极为简单)
摘要:解题思路:注意事项:参考代码:#include<iostream>
using namespace std;
int main()
{
int a;
cin>>a;
……
编写题解 2239: 蓝桥杯算法训练-动态数组使用
摘要:解题思路:注意事项:参考代码:#include <malloc.h> //所需的头文件
#include <stdio.h>
int main() {
int *a, n;
int……
1031: [编程入门]自定义函数之字符串反转 【c++】
摘要:解题思路:用string 类型来解决 并用下标访问 循环逆序打出字符串注意事项: 为了方便没有定义一个函数 就写了主函数参考代码:#include<iostream>#include<string>u……
1366: 超级书架2
摘要:解题思路:运用快排、while循环;注意事项:参考代码:#include<bits/stdc++.h>
using namespace std;
long long n,b,a[20005];
……
1206: 字符串问题
摘要:```cpp
#include
#include
using namespace std;
int main()
{
char a[300];
gets(a);
……