0_0_15913743_14889.cpp: In function 'void CC()': 0_0_15913743_14889.cpp:6:12: error: 'M_PI' was not declared in this scope #define pi M_PI ^ 0_0_15913743_14889.cpp:47:9: note: in expansion of macro 'pi' ans+=2*pi*l; ^