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

在每一列里,解一元二次方程求排名;在每一列的排名相加得总排名。因此,二分答案的每一步是O(N)的。

Posted by ImLazy at 2008-09-17 10:57:40 on Problem 3685
In Reply To:Re:诚心请教这题思路,我只想到利用同列行单调性质二分答案,因为由偏导知在列顺序上不严格单调,但本地跑50000,....这样极限好慢,这题想了一天,先多谢了..... Posted by:DreamOfGame at 2008-08-31 23:42:03


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