0_0_31016337_5367.cpp: In function 'double fun(point, point, int, int)': 0_0_31016337_5367.cpp:14:30: error: 'M_PI' was not declared in this scope if(d<=abs(r1-r2)) return M_PI*r*r; ^