F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_25007503_24493.cpp: In function 'void UNITROOT(long unsigned int)':
0_0_25007503_24493.cpp:26:33: error: 'asin' was not declared in this scope
 #define PR(x) ((POIP){cos(asin(1)*4*(x)),sin(asin(1)*4*(x))})
                                 ^
0_0_25007503_24493.cpp:42:10: note: in expansion of macro 'PR'
    UR[i]=PR((double)j*k/N);
          ^
0_0_25007503_24493.cpp:26:40: error: 'cos' was not declared in this scope
 #define PR(x) ((POIP){cos(asin(1)*4*(x)),sin(asin(1)*4*(x))})
                                        ^
0_0_25007503_24493.cpp:42:10: note: in expansion of macro 'PR'
    UR[i]=PR((double)j*k/N);
          ^
0_0_25007503_24493.cpp:26:59: error: 'sin' was not declared in this scope
 #define PR(x) ((POIP){cos(asin(1)*4*(x)),sin(asin(1)*4*(x))})
                                                           ^
0_0_25007503_24493.cpp:42:10: note: in expansion of macro 'PR'
    UR[i]=PR((double)j*k/N);
          ^


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:28:57, Gzip enabled