番禺小韭菜
番禺小韭菜
全部文章
分类
归档
标签
去牛客网
登录
/
注册
番禺小韭菜的博客
全部文章
(共93篇)
题解 | 小红的双生英雄
#include <algorithm> #include <any> #include <iostream> using namespace std; int main() { int n, C, m; cin >> n >&...
2025-03-05
0
42
题解 | 数独数组
#include <iostream> #include <vector> using namespace std; int main() { int n; cin >> n; vector<int> nums(9); ...
2025-03-05
1
28
题解 | 翻之
#include <iostream> #include <vector> #include <unordered_map> #include <string> #include <algorithm> using namespace s...
2025-03-05
0
35
题解 | 小红的双生排列
#include <iostream> using namespace std; #define MOD 1000000007; int main() { int n; cin >> n; //当且仅当任意相邻两项之和均为奇数 //奇数 + 偶...
2025-03-05
1
31
题解 | 小红的双生数
#include <iostream> #include <vector> #include <string> using namespace std; vector<int> find(const string& s) { int ...
2025-03-05
2
39
题解 | 最大最小路
#include <iostream> #include <vector> #include <functional> using namespace std; using ll = long long; class UnionFind { public: ...
2025-03-05
0
27
题解 | 而后单调
#include <algorithm> #include <iostream> #include <unordered_set> #include <unordered_map> #include <vector> using names...
2025-03-05
0
19
题解 | 预知
#include <bits/stdc++.h> using namespace std; const int N = 2e5 + 10; int a[N]; void solve() { int n; cin >> n; for (int i = 1; ...
2025-03-04
1
24
题解 | 小数字
#include <iostream> #include <cmath> using namespace std; void solve() { int n, m; cin >> n >> m; while (m -- ) {...
2025-03-04
0
24
题解 | 小红的二分图构造
#include <iostream> #include <vector> using namespace std; bool dfs(const int& first, const int& sum, const int& target, cons...
2025-03-04
0
29
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页