Shirlies
宁静专注认真的程序媛~
摘要: 不错的一题,需要极角排序,看了别人的代码做的。。。。。。计算几何啊~~~View Code 1 #include <cstdio> 2 #include <cstring> 3 #include <cmath> 4 #include <algorithm> 5 6 const double er = 1e-8; 7 struct point 8 { 9 int index;10 int x,y;11 }p[100];12 int n;13 int res;14 15 int dis(point a,point b)16 {17 return sq 阅读全文
posted @ 2012-04-12 10:43 Shirlies 阅读(241) 评论(0) 推荐(0) 编辑