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

Re:这题可以用并查集做吗?

Posted by huzijin at 2010-07-23 21:37:17 on Problem 2838
In Reply To:这题可以用并查集做吗? Posted by:huzuosheng at 2007-08-22 23:45:46
我认为不可以,因为,若用并查集,一旦进行合并,元素内部之间的关系就删掉了很多,从而无法完成删除工作。

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