Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_866_1967_10067.cpp:4:90: error: invalid digit "9" in octal constant
 #define p 3.1415926535 8979323846 2643383279 5028841971 6939937510 5820974944 5923078164 0628620899 8628034825
                                                                                          ^
1_866_1967_10067.cpp:12:17: note: in expansion of macro 'p'
     m=(n-1)*cos(p/n*1.0)*sin(p/n*1.0)+sin(p/n*1.0);
                 ^
1_866_1967_10067.cpp:4:90: error: invalid digit "9" in octal constant
 #define p 3.1415926535 8979323846 2643383279 5028841971 6939937510 5820974944 5923078164 0628620899 8628034825
                                                                                          ^
1_866_1967_10067.cpp:12:30: note: in expansion of macro 'p'
     m=(n-1)*cos(p/n*1.0)*sin(p/n*1.0)+sin(p/n*1.0);
                              ^
1_866_1967_10067.cpp:4:90: error: invalid digit "9" in octal constant
 #define p 3.1415926535 8979323846 2643383279 5028841971 6939937510 5820974944 5923078164 0628620899 8628034825
                                                                                          ^
1_866_1967_10067.cpp:12:43: note: in expansion of macro 'p'
     m=(n-1)*cos(p/n*1.0)*sin(p/n*1.0)+sin(p/n*1.0);
                                           ^
1_866_1967_10067.cpp: In function 'int main()':
1_866_1967_10067.cpp:4:24: error: expected ')' before numeric constant
 #define p 3.1415926535 8979323846 2643383279 5028841971 6939937510 5820974944 5923078164 0628620899 8628034825
                        ^
1_866_1967_10067.cpp:12:17: note: in expansion of macro 'p'
     m=(n-1)*cos(p/n*1.0)*sin(p/n*1.0)+sin(p/n*1.0);
                 ^
1_866_1967_10067.cpp:4:24: error: expected ')' before numeric constant
 #define p 3.1415926535 8979323846 2643383279 5028841971 6939937510 5820974944 5923078164 0628620899 8628034825
                        ^
1_866_1967_10067.cpp:12:30: note: in expansion of macro 'p'
     m=(n-1)*cos(p/n*1.0)*sin(p/n*1.0)+sin(p/n*1.0);
                              ^
1_866_1967_10067.cpp:4:24: error: expected ')' before numeric constant
 #define p 3.1415926535 8979323846 2643383279 5028841971 6939937510 5820974944 5923078164 0628620899 8628034825
                        ^
1_866_1967_10067.cpp:12:43: note: in expansion of macro 'p'
     m=(n-1)*cos(p/n*1.0)*sin(p/n*1.0)+sin(p/n*1.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:06:45, Gzip enabled