Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_866_2734_29174.cpp: In function 'int main()':
1_866_2734_29174.cpp:11:16: error: 'M_PI' was not declared in this scope
   s1=sin(angle*M_PI/180.00)/2.00;
                ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-07-03 02:24:53, Gzip enabled