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:贾兄,你这题的复杂是多少啊?我的是n*n到n*n*n之间,理论是n*n*n的,实际的效果还是挺好的。

Posted by JiaJunpeng at 2014-07-11 16:07:40 on Problem 3127
In Reply To:贾兄,你这题的复杂是多少啊?我的是n*n到n*n*n之间,理论是n*n*n的,实际的效果还是挺好的。 Posted by:yygy at 2014-07-11 10:59:42
记得是O(N^2)的,你可以做下poj 3722 我用的是类似的方法,可以用单调队列优化到
O(n),记得以前YY过。。。。

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