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

你tle那是你的问题,堆可以实现nlogn

Posted by hudedi at 2006-07-13 17:30:57 on Problem 1456
In Reply To:Re:I get TLE~ isn't it o(n^2), i can't optimize it any more :( Posted by:shelling at 2006-07-13 12:59:34
> 不要乱讲,其实只要很朴素的线性变力就好了
> 数据很弱的
> 有O(n^2)的贪心就能过了
> 某人骗我说是用堆~~~~害我TLE!!!

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