Scar
2 年前 (2023-07-10)
#并查集 #设置Tag是个好习惯 最小生成树 Kruskal算法还有一个Prim算法,以后补上#include <iostream> #include <algorithm> #define debug(x) cout <<&nbs...
0 405
2 年前 (2023-07-09)
#并查集 #设置Tag是个好习惯 #include <iostream> #include <algorithm> #define MAXN 1000 #define debug(x) (cout << #x&...
0 489