0_0_34417442_876.cpp: In function 'int main()': 0_0_34417442_876.cpp:23:32: error: 'M_PI' was not declared in this scope ans += D * D * sin(M_PI * getint() / 180) / 2; ^