Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

其实就是防止出现退化的树,所以合并的时候,根据每部分的节点数来选择新的根

Posted by sunmoonstar_love at 2005-07-28 22:09:16 on Problem 2513
In Reply To:还能这样实现union-find sets?没见过 Posted by:frkstyc at 2005-07-28 22:08:03


Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator