![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
并查集
文章平均质量分 52
naturelan
这个作者很懒,什么都没留下…
展开
-
hdu_1213 how many tables (并查集)
http://acm.hdu.edu.cn/showproblem.php?pid=1213 分析: 并查集模板题,所以就不多分析了 代码: #include #include #include using namespace std; #define M 1010 int n,m; int parent[M]; int Find(int e) { if(pa原创 2013-12-15 09:24:05 · 687 阅读 · 0 评论 -
poj_1611 The Suspects
http://poj.org/problem?id=1611 分析: 简单的原创 2014-10-08 10:32:34 · 403 阅读 · 0 评论 -
poj_2524 Ubiquitous Religious
http://poj.org/problem?id=2524 分析:原创 2014-10-08 16:45:16 · 492 阅读 · 0 评论