
计算几何
欧菲博客
这个作者很懒,什么都没留下…
展开
-
旋转卡壳:cdoj942
#include #include #include #include #include #include using namespace std; #define maxn 10000 struct point{ double x,y; point(){ x=y=0; } point(double x,double y){ this->x=x;this->y=y; } bo原创 2014-07-03 18:52:43 · 394 阅读 · 0 评论 -
凸包代码,摘自入门经典训练指南
struct point{ double x,y; point(){ x=y=0; } point(double x,double y){ this->x=x;this->y=y; } bool operator return y } }; typedef point vector; vector operator+(vector &a,vector &b){ ret转载 2014-06-20 23:34:30 · 437 阅读 · 0 评论