摘要:
#include<cstdio>#include<iostream>#define min(a,b) (a)>(b)?(b):(a)#define max(a,b) (a)>(b)?(a):(b)using namespace std;struct point{ double x,y;};struct segment{ point a,b; };segment s[1000];double Direction(point i,point j,point k){ double tempx1=k.x-i.x; double tempy1=k.y-i.y; dou 阅读全文