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:O(n^2)预处理,O(1)查询

Posted by yy17yy at 2011-02-06 21:36:38 on Problem 2019
In Reply To:Re:O(n^2)预处理,O(1)查询 Posted by:117474335 at 2010-10-01 09:31:01
> 单调队列的时间复杂度为O(n),所以搂主是n^2的,没有什么高深的东西。
O(n)的???,,,你也太牛了吧,,,数据读入还是O(n^2)呢,,,,

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