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(NlogN),其实这题还有O(LogN)的方法,不过思维复杂度太高了,也说不清......

Posted by TN at 2005-05-18 12:11:01 on Problem 1818
In Reply To:希望有人能告诉我这个应该怎么搞? Posted by:js05 at 2005-05-18 10:33:48


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