Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
你这个并查集不能通用的吧In Reply To:其实就是防止出现退化的树,所以合并的时候,根据每部分的节点数来选择新的根 Posted by:sunmoonstar_love at 2005-07-28 22:09:16 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator