Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_866_2126_31783.cpp: In function 'double msin(double)':
1_866_2126_31783.cpp:5:16: error: 'M_PI' was not declared in this scope
     return sin(M_PI * d / 180.0);
                ^
1_866_2126_31783.cpp: In function 'double mcos(double)':
1_866_2126_31783.cpp:8:16: error: 'M_PI' was not declared in this scope
     return cos(M_PI * d / 180.0);
                ^


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:37:41, Gzip enabled