有胆量的柯基在学习
有胆量的柯基在学习
全部文章
分类
归档
标签
去牛客网
登录
/
注册
有胆量的柯基在学习的博客
全部文章
(共90篇)
题解 | 括号区间匹配
#include <iostream> #include <cstring> using namespace std; string s; int dp[105][105]; // 判断两个括号能否匹配 bool match(char a, char b) { r...
2025-08-06
0
16
题解 | [CQOI2007]涂色PAINT
#include <iostream> #include <vector> #include <string> using namespace std; string target; int dp[55][55]; // 最多长度为50 // 区间 [l, r...
2025-08-06
0
14
题解 | 小红取数
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int n, k; cin >> n >&...
2025-08-06
0
15
题解 | 字母收集
#include <iostream> #include <vector> #include <string> using namespace std; int getScore(char c) { if (c == 'l') return 4; ...
2025-08-05
0
16
题解 | 【模板】二维差分
#include <iostream> #include <vector> using namespace std; int main() { int n, m, q; cin >> n >> m >> q; ve...
2025-08-04
0
16
题解 | 【模板】差分
#include <iostream> #include <vector> using namespace std; int main() { int n, m; cin >> n >> m; vector<long ...
2025-08-04
1
16
题解 | 【模板】二维前缀和
#include <iostream> #include <vector> using namespace std; int main() { int n, m, q; cin >> n >> m >> q; /...
2025-08-04
0
15
题解 | 【模板】前缀和
#include <iostream> #include <vector> using namespace std; int main() { int n, m; cin >> n >> m; vector<long ...
2025-08-04
0
19
题解 | abb
#include <iostream> #include <string> using namespace std; int main() { int n; string s; cin >> n >> s; long...
2025-08-04
0
19
题解 | 【模板】完全背包
#include <iostream> #include <vector> using namespace std; int main() { int n, V; cin >> n >> V; vector<int>...
2025-08-04
0
17
首页
上一页
1
2
3
4
5
6
7
8
9
下一页
末页