sacredMoonRainTown

导航

2020年8月7日 #

并查集学习

摘要: 模板 class DisjointSet { public: int count = 0; vector<int> parent; DisjointSet(int n) { this->count = n; parent = vector<int>(n); for (int i = 0; i < n 阅读全文

posted @ 2020-08-07 01:01 sacredMoonRainTown 阅读(64) 评论(0) 推荐(0) 编辑