2119: 信息学奥赛一本通T1184-明明的随机数 摘要: #include #include #include using namespace std; int a[105]; int main() …… 题解列表 2024年03月21日 0 点赞 0 评论 575 浏览 评分:0.0
蓝桥杯【3150】一种做法~ 摘要:## 3150的一种解法 **第一次写题解,不好勿喷** ### 直接上代码 ```c++ #include using namespace std; int fin…… 题解列表 2024年03月21日 0 点赞 0 评论 393 浏览 评分:9.9
动态规划求最长下降子序列和最长上升子序列 摘要:#include <bits/stdc++.h> using namespace std; const int N = 30000 + 10; int a[N], f1[N], f2[N…… 题解列表 2024年03月21日 1 点赞 0 评论 402 浏览 评分:9.9
矩阵最大值c++ 摘要:```cpp #include using namespace std; int main() { int m, n; int a[101][101]; whi…… 题解列表 2024年03月20日 0 点赞 0 评论 782 浏览 评分:9.9
动态规划(C++)代码 摘要:#include <iostream> using namespace std; const int N = 1000010, INF = 0x3f3f3f3f; int a[N],…… 题解列表 2024年03月20日 0 点赞 0 评论 266 浏览 评分:0.0
二维数组线性dp(C++) 摘要:#include using namespace std; const int N = 110; int f[N][N]; int a[N][N]; int main() { int …… 题解列表 2024年03月20日 0 点赞 0 评论 260 浏览 评分:9.9
蓝桥杯2023年第十四届省赛真题-整数删除 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<queue>#include<vector>using namespace std;using ll = long …… 题解列表 2024年03月20日 2 点赞 0 评论 1335 浏览 评分:9.9
3145: 蓝桥杯2023年第十四届省赛真题-买瓜(C++) 摘要:```cpp #include #include using namespace std; const int N = 30; int INF = 100; int n , m; …… 题解列表 2024年03月20日 1 点赞 1 评论 748 浏览 评分:0.0
C++速度功成 摘要:解题思路:数组的构建,数组附值注意事项:注意a[3][3]中的3是容量,而下面默认第一位数组下标为a[0][0],所以输出的时候别写错了,当然要是把i和j定义成1的话,那a[1][1]就是第一行第一列…… 题解列表 2024年03月20日 0 点赞 0 评论 369 浏览 评分:0.0
sort排序自定义 摘要:#include <bits/stdc++.h> using namespace std; const int N = 1e6 + 10; int n, m; struct node { …… 题解列表 2024年03月20日 0 点赞 0 评论 361 浏览 评分:9.9