2012年10月6日
摘要: 这是个凸包题,不怎会啊。网上找了个比较容易理解的但是有点问题啊。就是有个测试结果不对尽然也AC了。挺郁闷的。(毕竟还是比较容易理解的)代码:View Code 1 #include<iostream> 2 #include<algorithm> 3 #include<math.h> 4 using namespace std; 5 struct point 6 { 7 double x,y; 8 }; 9 point p[50000],res[50000];10 double area(point t0,point t1,point t2)//三点构成的三角 阅读全文
posted @ 2012-10-06 10:18 xinmenghuairi 阅读(241) 评论(0) 推荐(0) 编辑