0_0_36709148_12360.cpp: In function 'double rad(double)':
0_0_36709148_12360.cpp:68:33: error: 'M_PI' was not declared in this scope
double rad(double r) { return r*M_PI/180.0;}
^
0_0_36709148_12360.cpp: In member function 'double Circle::area()':
0_0_36709148_12360.cpp:134:12: error: 'M_PI' was not declared in this scope
return M_PI*r*r;
^
0_0_36709148_12360.cpp: In function 'int main()':
0_0_36709148_12360.cpp:276:77: error: 'M_PI' was not declared in this scope
<<100*(PolygonCircleArea(HalfplaneIntersection(v),Circle(o,r))/(M_PI*r*r))<<"%\n";
^
|