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

晕,只用从头到尾建一次堆,再从尾到头建一次堆,把结果用数组记录下来就行了,不用每次迭代的中位数都建堆....

Posted by xuchang at 2010-12-16 18:54:15 on Problem 2010
In Reply To:用堆做遍历中位数超时超得厉害呀 Posted by:xuchang at 2010-12-16 17:15:35


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