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