0_0_31614067_20353.cpp: In function 'int main()': 0_0_31614067_20353.cpp:11:13: error: 'M_PI' was not declared in this scope ans+=sin(M_PI*k/180.0)/2; ^