计算几何
文章平均质量分 79
coder_coder_coder
默默的程序猿
展开
-
poj1254Hansel and Grethel poj1269Intersecting_Lines
poj1254Hansel and Grethel#include #include #include using namespace std;const double eps=1e-10;const double pi=acos(-1.0);const int inf=1e8;inline int dcmp(double x){ if(x < eps) return 0原创 2014-08-28 00:34:46 · 368 阅读 · 0 评论 -
hdu4195Regular Convex Polygon poj2242The Circumference of the Circle
#include #include #include #include using namespace std;const double eps=1e-6;//这个错了可能waconst double pi=acos(-1.0);inline bool dcmp(double x){ if(x<eps)return 0; return x>0?1:-1;}stru原创 2014-08-28 00:32:59 · 481 阅读 · 0 评论