并查集
文章平均质量分 86
GODLINESS_
这个作者很懒,什么都没留下…
展开
-
poj 2513 Colored Sticks(trie+并查集+欧拉通路)
Colored SticksTime Limit: 5000MS Memory Limit: 128000KTotal Submissions: 30391 Accepted: 8031DescriptionYou are given a bunch of wooden sticks. Each endpoint of e原创 2014-08-16 20:48:53 · 507 阅读 · 0 评论 -
hdu 2473 Junk-Mail Filter(删除节点操作的并查集)
Junk-Mail FilterTime Limit: 15000/8000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5997 Accepted Submission(s): 1907Problem DescriptionRecogniz原创 2014-08-15 13:32:30 · 394 阅读 · 0 评论 -
zoj 3659 Conquer a New Region (经典并查集)
Conquer a New RegionTime Limit: 5 Seconds Memory Limit: 32768 KBThe wheel of the history rolling forward, our king conquered a new region in a distant continent.There are N towns (numbe原创 2014-08-17 11:08:14 · 605 阅读 · 0 评论