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