并查集
安庆闪耀
这个作者很懒,什么都没留下…
展开
-
hdu 5441 Travel(带权并查集)
Problem Description Jack likes to travel around the world, but he doesn’t like to wait. Now, he is traveling in the Undirected Kingdom. There are n cities and m bidirectional roads connecting t原创 2016-05-02 20:23:04 · 2753 阅读 · 1 评论 -
hdu 5631 Rikka with Graph(并查集)
Rikka with Graph Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 593 Accepted Submission(s): 274 Problem Description As we know,原创 2016-02-27 10:55:17 · 291 阅读 · 0 评论