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 |
直接用【凸包】+O(n^2)的枚举距离就可以过了WA一直,没想明白why。看了一遍代码木有发现,来看讨论版,有位前人写的几条注意事项,最后一条说检查下cmp。我晕~~ a.y<b.y写成b.x<b.y,囧囧囧囧囧 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator