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

写了一个nlogn的算法,效果不是很理想。

Posted by lonelyboy at 2009-05-09 10:59:20 on Problem 1201
In Reply To:这题好象有个O(n*log(n))算法 Posted by:pladene at 2003-07-31 17:36:33
> rt
http://hi.baidu.com/findthegateopen/blog/item/d4852428c24990f698250a04.html
方法是根据此题的特殊性,压栈,二分查找。

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