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 bjiang at 2008-02-14 22:29:13 on Problem 2796
In Reply To:这题怎么才能不超时? Posted by:colossus at 2008-02-05 13:38:26
O(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