牛客754921490号
牛客754921490号
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客754921490号的博客
全部文章
(共44篇)
题解 | 太阳系DISCO
#include <iostream> #include <vector> #include <deque> using namespace std; struct Node { int pt; int k; }; int main() { ...
2025-12-20
0
11
题解 | 时津风的资源收集
#include <iostream> #include <vector> #include <deque> using namespace std; int main() { int t; cin >> t; // 达到当...
2025-12-20
0
10
题解 | 【模板】双指针
#include <iostream> #include <vector> #include <unordered_set> #include <algorithm> using namespace std; int main() { int...
2025-12-20
0
7
题解 | 走一个大整数迷宫
#include <iostream> #include <vector> #include <cmath> #include <deque> using namespace std; // (a+b)%m = (a%m + b%m)%m // (a...
2025-12-20
0
9
题解 | 模意义下最大子序列和(Easy Version)
#include <iostream> #include <vector> using namespace std; //dfs 穷举 int vMax = 0; void dfs(const vector<int>& data, int i, int s...
2025-12-19
0
7
题解 | kotori和素因子
#include <iostream> #include <vector> #include <cmath> #include <unordered_set> using namespace std; // 素因子大概是质因数的意思 // n 不大 /...
2025-12-19
0
9
题解 | 小红的01子序列构造(easy)
#include <iostream> using namespace std; //每个1前面有几个0就能得到几个01子串 //i+1时如果data[i]为0则要减去后续1数量的子串,为1则不用处理 // k超过了int32的范围,使用cin读取的话,溢出会导致后续字符串读入失败 v...
2025-12-19
0
8
题解 | 小红的排列构造②
#include <iostream> #include <vector> using namespace std; int main() { int n; string s; cin >> n >> s; // p是...
2025-12-18
0
9
题解 | 喜欢切数组的红
#include <iostream> #include <vector> using namespace std; int main() { int n; cin >> n; vector<int> data(n); ...
2025-12-18
0
8
题解 | 参数解析
#include <iostream> #include <vector> using namespace std; int main() { string cmd; getline(cin, cmd); vector<pair<int,...
2025-12-18
0
7
首页
上一页
1
2
3
4
5
下一页
末页