摘要: 基础知识: 二维的: //2-D int my(double A){//处理应精度比大小不准确的问题 if(fabs(A)<eps)return 0; if(A<0)return -1; if(A>0)return 1; return 0; } struct Point{//点 double x,y 阅读全文
posted @ 2020-02-06 17:12 passione 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 模板题:洛谷p4724 #include<bits/stdc++.h> #define eps 1e-9; using namespace std; const int N=500010; int n; int vis[1010][1010]; struct Point{ double x,y,z; 阅读全文
posted @ 2020-02-06 17:00 passione 阅读(96) 评论(0) 推荐(0) 编辑