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