潘昊ph
潘昊ph
全部文章
分类
题解(2)
归档
标签
去牛客网
登录
/
注册
潘昊ph的博客
全部文章
(共2篇)
题解 | #while#
#include <bits/stdc++.h> using namespace std; const int maxn = 2e5 + 5; vector<int> a; v...
并查集
2025-05-01
2
16
题解 | #while#
#include <bits/stdc++.h> using namespace std; const int maxn = 2e5 + 5; vector a; vector pre; unordered_map<int, int> me; int root(int x) ...
C++
并查集
2025-05-01
2
22