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_29281191_31718.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_29281191_31718.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_29281191_31718.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_29281191_31718.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_29281191_31718.cpp:9:26: error: 'acos' was not declared in this scope
 const double PI=acos(-1.0);
                          ^
0_0_29281191_31718.cpp: In function 'int fun(double)':
0_0_29281191_31718.cpp:17:11: error: expected ';' before '{' token
 for(i=0;i {
           ^
0_0_29281191_31718.cpp:17:11: error: expected primary-expression before '{' token
0_0_29281191_31718.cpp:17:11: error: expected ')' before '{' token
0_0_29281191_31718.cpp:18:16: error: 'cos' was not declared in this scope
 vx=v[i]*cos(anl);
                ^
0_0_29281191_31718.cpp:19:17: error: 'sin' was not declared in this scope
 vy1=v[i]*sin(anl);
                 ^
0_0_29281191_31718.cpp:20:23: error: 'sqrt' was not declared in this scope
 vy2=sqrt(vy1*vy1+2*g*h);
                       ^
0_0_29281191_31718.cpp: In function 'int main()':
0_0_29281191_31718.cpp:33:20: error: 'scanf' was not declared in this scope
 while(scanf("%d",&n),n)
                    ^
0_0_29281191_31718.cpp:45:16: error: 'max' was not declared in this scope
 ans=max(ans,tmp);
                ^
0_0_29281191_31718.cpp:47:18: error: 'printf' was not declared in this scope
 printf("%d\n",ans);
                  ^


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-11-26 10:45:19, Gzip enabled