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