并查集
心悦灵溪
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
PAT练习题 P1021 Deepest Root (25分)【并查集+图的遍历】
传送门:P1021Deepest 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 · 205 阅读 · 0 评论 -
HDU 1116 Play on Words 【欧拉回路+并查集】
传送门:HDU 1116Play on WordsTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Problem DescriptionSome of the secret doors contain a very interesting word puzzle....原创 2019-08-13 21:23:44 · 194 阅读 · 0 评论
分享