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

说错了,我说用bst会超时,用静态的都容易超时,更不用说用bst了

Posted by mmd at 2007-09-29 19:35:51
In Reply To:O(n)吧 Posted by:ACM06060 at 2007-09-29 19:28:13
> 双端队列
> 重头开始如果当前段小的话就向后死命扩展,然后如果不行了就前面的指针前移一个然后继续过程
> 最多两个N吧。

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