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

只要在大O意义下,进行两种操作的时间代价和进行Union&Find的代价相同就能AC

Posted by blablabla at 2006-02-10 16:09:09 on Problem 1988
In Reply To:这个题应该怎么利用并查集啊,我用了并查集不过还是TLE,哪位牛人指点下 Posted by:nighmore at 2005-09-19 14:52:14


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