0_0_37787700_32663.cpp: In function 'int main()': 0_0_37787700_32663.cpp:34:35: error: 'PI' was not declared in this scope res+=1.0*m*m*sin(a[i]*PI/180.00)/2.0; ^