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