简单二分枚举求圆的面积交View Code #include<cstdio>#include<cmath>const double eps = 1e-8;const double pi = acos(-1.0);struct Point{ double x,y;}p[1000];struct circle{ Point pp; double r;}cir[30];double area[30];int n;double cir_area_inst(Point c1, double r1, Point c2, double r2) { // 两圆面积交 ... Read More
posted @ 2012-01-08 12:44 Because Of You Views(302) Comments(0) Diggs(0) Edit