Lang:G++
Edit12345678910111213141516171819202122232425262728293031#define _CRT_SECURE_NO_WARNINGS#include<iostream>#include<cstdio>#include<cstring> // strlen#include<cmath>#include<set>#include<queue>#include<map>#include<string>#include<limits.h> // INT_MAX#include<functional>#include<algorithm>#include<stack>using namespace std;const int maxn = 1e5+3;const int maxm = 1e4+3;typedef long long LL;typedef long long T;// T是自定义精度类型typedef struct Point{ // 不必要时不要用long long,乘法运算慢很多T x,y;Point( T x=0 , T y=0):x(x),y(y){}}Vector;Point operator - (const Point& a,const Point& b){ return Point(a.x-b.x,a.y-b.y);} //常量引用能快一点点T Cross( const Point& a,const Point& b ){ return a.x*b.y - a.y*b.x ;};Point pts[3];int main(){//freopen("in.txt","r",stdin);