摘要: 利用二分的方法来计算,应该是说利用分治的方法吧! 刚开始感觉时间会爆 后来发现嘎嘎居然没有 ,嗨自己算错了时间:#include #include#include#include#includeusing namespace std;struct point{ double x,y; point (double a=0,double b=0) { x=a;y=b; }};struct point p[100005];int a[100005];bool cmp1(point a,point b){ if(a.xb?b:a;}double find(... 阅读全文
posted @ 2013-11-29 18:18 来自大山深处的菜鸟 阅读(164) 评论(0) 推荐(0) 编辑