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 10110057 at 2014-07-25 11:03:11 on Problem 2187
样例
6
0 0
0 4
4 0
4 4
1 3
3 3

显然凸包是由第0个节点到第3个节点围成的正方形,一条对角线经过了(1,3)另一条进过了(3,1)而边长为4小于(0,0)到(3,3)的距离。

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