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(nlogn)的算法,看了讨论没有这么做的?250ms

Posted by KatrineYang at 2017-03-27 13:03:06 on Problem 1701
RT,就是因为目标函数是凸函数,所以电梯停靠在1~M的钚满意度的值组成的序列是双调序列,二分求极值~~

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