![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
并查集
心悦灵溪
这个作者很懒,什么都没留下…
展开
-
PAT练习题 P1021 Deepest Root (25分)【并查集+图的遍历】
传送门:P1021 Deepest Root (25分) A graph which is connected and acyclic can be considered a tree. The height of the tree depends on the selected root. Now you are supposed to find the root that result...原创 2020-03-03 15:51:23 · 161 阅读 · 0 评论 -
HDU 1116 Play on Words 【欧拉回路+并查集】
传送门:HDU 1116 Play on Words Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Problem Description Some of the secret doors contain a very interesting word puzzle....原创 2019-08-13 21:23:44 · 148 阅读 · 0 评论