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_13797308_30624.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13797308_30624.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13797308_30624.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13797308_30624.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13797308_30624.cpp: In function 'double solve(double, double, double, double)':
0_0_13797308_30624.cpp:6:21: error: 'acos' was not declared in this scope
 #define PI acos(-1.0)
                     ^
0_0_13797308_30624.cpp:11:12: note: in expansion of macro 'PI'
     return PI/3*(r*r+r*u+u*u)*h;
            ^
0_0_13797308_30624.cpp: In function 'int main()':
0_0_13797308_30624.cpp:17:18: error: 'scanf' was not declared in this scope
     scanf("%d",&t);
                  ^
0_0_13797308_30624.cpp:23:17: error: 'fexp' was not declared in this scope
         while(l-fexp)
                 ^
0_0_13797308_30624.cpp:27:25: error: 'fabs' was not declared in this scope
             if(fabs(vv-V)
                         ^
0_0_13797308_30624.cpp:28:17: error: expected ')' before 'break'
                 break;
                 ^
0_0_13797308_30624.cpp:29:21: error: 'vvV' was not declared in this scope
             else if(vvV)
                     ^
0_0_13797308_30624.cpp:34:29: error: 'printf' was not declared in this scope
         printf("%.6lf\n",mid);
                             ^


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-25 23:02:58, Gzip enabled