摘要: 1 vector<int> father; 2 vector<int> sz; 3 int find(int x) 4 { 5 if (father[x] == x) 6 return x; 7 else 8 return father[x] = find(father[x]); 9 } 10 vo 阅读全文
posted @ 2020-03-20 09:15 czhWellOptimized 阅读(204) 评论(0) 推荐(0)