minux_sufe
minux_sufe
全部文章
分类
算法(2)
题解(28)
归档
标签
去牛客网
登录
/
注册
Code Rush
0x00
全部文章
(共2篇)
离散化&并查集
#include <cstdio> #include <iostream> #include <algorithm> #include <map> using namespace std; const int N=20005; int n,m; i...
并查集
离散化
2020-07-08
0
572
并查集求解
#include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N=30005; int T; int fa[N], sz[N], d[N];...
并查集
2020-07-08
0
611