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^2)的枚举距离就可以过了

Posted by hnust_fjy at 2014-02-25 16:11:33 on Problem 2187
WA一直,没想明白why。看了一遍代码木有发现,来看讨论版,有位前人写的几条注意事项,最后一条说检查下cmp。我晕~~ a.y<b.y写成b.x<b.y,囧囧囧囧囧

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