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 StepByStepCnmLife at 2015-04-26 11:36:27 on Problem 1113
用grahm-scan的时候,最好在排序的时候将有同一极角的点按照从从内到外的顺序排。
这样可以在扫描的时候不需要考虑特殊情况。只要是叉积<=0,一律pop

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