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 MadDoctor at 2014-10-03 19:07:25 on Problem 3269
在n是奇数的时候,并且最优点被占用的时候。

例如
5
0 0
0 5
0 -5
3 -3 
-3 3

网上有些AC的代码都是错的
对这个例子
就要分别看x,y
将最优点在x方向或者y方向挪动1带来的影响。两者取最优值

 

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