class DisjointSet {
public:
static const int MAXN = 1e3+100;
int n;
int root[MAXN];
DisjointSet( ) {
};
DisjointSet( int _n ) : n(_n) {
};
void ini ( int n ) {
this->n =<
并查集 再理解加模板
最新推荐文章于 2023-01-14 15:00:24 发布