版本比较
题解:UVA11178 Morley's Theorem
正文
增加 4 行删除 4 行
12345678910111211 行未改动242526272829303132338 行未改动[](https://www.luogu.com.cn/problem/UVA11178)[-yellow)](https://www.luogu.com.cn/user/387009)------------比较板的一道题,为了便于阅读,把题面再放一遍:显而易见,如果求出 $D,E,F$ 中任何一点的坐标,则其余两点坐标同理可得。11 行未改动int x,y;template<typename T>Point<T> getD(const Point<T>&a,const Point<T>&b,const Point<T>&c){Vector<T>v1=c-b,v2=b-c;T a1=(a-b).angle(v1),a2=(a-c).angle(v2);return getLineIntersection(b,v1<<(a1/3),c,v2>>(a2/3));}signed main(){static int T=-1;if(T==-1)scanf("%d",&T);if(T--==0)return 0;8 行未改动12345678910111211 行未改动242526272829303132338 行未改动[](https://www.luogu.com.cn/problem/UVA11178)[-yellow)](https://www.luogu.com.cn/user/387009)------------比较板的一道题,为了便于阅读,把题面再放一遍:显而易见,如果求出 $D,E,F$ 中任何一点的坐标,则其余两点坐标同理可得。11 行未改动int x,y;template<typename T>Point<T> getD(const Point<T>&a,const Point<T>&b,const Point<T>&c){Vector<T>v1=c-b,v2=b-c;T a1=(a-b).angle(v1),a2=(a-c).angle(v2);return getLineIntersection(b,v1<<(a1/3),c,v2>>(a2/3));}signed main(){static int T=-1;if(T==-1)scanf("%d",&T);if(T--==0)return 0;8 行未改动