随笔分类 - 计算几何
摘要:#include //卡精度卡的蛋疼妈蛋 using namespace std; #define LL long long const int maxn=1e4+10; const int blk=256; vectormp[blk*blk]; #define eps 1e-8 #define inside(x,y) (x>=0&&x=0&&y=1;f--) { p....
阅读全文
摘要:#include #include #include using namespace std; const int maxn=1e5+10; struct point{ double x,y; void in() { scanf("%lf%lf",&x,&y); } inline point f(point a)const{ ...
阅读全文
摘要:#include #include #include #include #include #include using namespace std; #define LL long long const int maxn=25; double a[maxn],l[maxn],r[maxn]; double ex,ey; #define dis(x1,y1,x2,y2) hypot(x1...
阅读全文
摘要:#include #include #include #include #include #include #include #include using namespace std; #define LL long long const int maxn=2e5+1; int meow[2][2][2]; int x[maxn],y[maxn]; int main() { ...
阅读全文

浙公网安备 33010602011771号