Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
一点经验用grahm-scan的时候,最好在排序的时候将有同一极角的点按照从从内到外的顺序排。 这样可以在扫描的时候不需要考虑特殊情况。只要是叉积<=0,一律pop Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator