摘要:
http://poj.org/problem?id=1584 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 const int maxn=50000; 8 const double pi=acos(-1.0); 9 const double eps=10e-8; 10 11 int cmp(double x) 12 { 13 if(fabs(x)0) return 1; 15 return -1; 16 } 17 18 double sqr(double x) 1... 阅读全文