摘要: #include<stdc++.h> #include <iostream> using namespace std; class ufset{ public: static const int N = 100010; int p[N]; // p[i]看做i的指针,该指针指向其父节点。 int c 阅读全文
posted @ 2022-03-27 10:01 子于舟 阅读(127) 评论(0) 推荐(0)