
数据结构——并查集
QYitong
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
CDOJ 1328 卿学姐与诡异村庄(并查集判断矛盾)
卿学姐与诡异村庄 Time Limit: 4500/1500MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others) Submit Status 日复一日,年复一年,春去秋来。 卿学姐终于从天行廖那里毕业啦。出山的卿学姐首先来到了一个诡异的村庄。 在这个村庄中,只有两种人,一种是好人,原创 2017-03-12 23:55:58 · 861 阅读 · 0 评论 -
Gym - 100923H Por Costel and the Match 并查集判情况矛盾 (经典)
meciul.in / meciul.out Oberyn Martell and Gregor Clegane are dueling in a trial by combat. The fight is extremely important, as the life of Tyrion Lannister is on the line. Oberyn and Gregor are原创 2017-01-19 22:46:48 · 720 阅读 · 0 评论 -
BZOJ1015 [JSOI2008]星球大战starwar——逆向思维并查集+路径压缩
1015: [JSOI2008]星球大战starwar Time Limit: 3 Sec Memory Limit: 162 MB Submit: 5558 Solved: 2553 [Submit][Status][Discuss] Description 很久以前,在一个遥远的星系,一个黑暗的帝国靠着它的超级武器统治者整个星系。某一天,凭着一个偶然的 机遇,一支反抗军原创 2016-11-30 22:57:39 · 483 阅读 · 0 评论