并查集
Key_LD
垫底一本的寝室蹲
展开
-
HDU 5883 2016 ICPC青岛网络赛
The Best Path Time Limit: 9000/3000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 784 Accepted Submission(s): 325 Problem Description Alice is planning原创 2016-09-21 20:49:04 · 301 阅读 · 0 评论 -
HDU 2818 && POJ1988 带权并查集
Description John are playing with blocks. There are N blocks (1 M X Y : Put the whole pile containing block X up to the pile containing Y. If X and Y are in the same pile, just ignore this comman原创 2016-08-16 19:57:15 · 356 阅读 · 0 评论 -
HDU3047 Zjnu Stadium
Description In 12th Zhejiang College Students Games 2007, there was a new stadium built in Zhejiang Normal University. It was a modern stadium which could hold thousands of people. The audience Seats原创 2016-08-15 20:23:40 · 451 阅读 · 0 评论