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_20761434_3649.cpp:3:7: error: 'nbsp' declared as reference but not initialized
 const double e = exp(1.0);  
       ^
0_0_20761434_3649.cpp:3:19: error: conflicting declaration 'double& nbsp'
 const double e = exp(1.0);  
                   ^
0_0_20761434_3649.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const double e = exp(1.0);  
       ^
0_0_20761434_3649.cpp:3:24: error: 'e' does not name a type
 const double e = exp(1.0);  
                        ^
0_0_20761434_3649.cpp:3:31: error: expected unqualified-id before '=' token
 const double e = exp(1.0);  
                               ^
0_0_20761434_3649.cpp:3:41: error: expected constructor, destructor, or type conversion before '(' token
 const double e = exp(1.0);  
                                         ^
0_0_20761434_3649.cpp:3:52: error: expected constructor, destructor, or type conversion before ';' token
 const double e = exp(1.0);  
                                                    ^
0_0_20761434_3649.cpp:3:58: error: expected constructor, destructor, or type conversion before ';' token
 const double e = exp(1.0);  
                                                          ^
0_0_20761434_3649.cpp:4:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_20761434_3649.cpp:4:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_20761434_3649.cpp:5:8: error: conflicting declaration 'double& nbsp'
 double p[21];  
        ^
0_0_20761434_3649.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const double e = exp(1.0);  
       ^
0_0_20761434_3649.cpp:5:13: error: 'p' does not name a type
 double p[21];  
             ^
0_0_20761434_3649.cpp:5:24: error: expected constructor, destructor, or type conversion before ';' token
 double p[21];  
                        ^
0_0_20761434_3649.cpp:5:30: error: expected constructor, destructor, or type conversion before ';' token
 double p[21];  
                              ^
0_0_20761434_3649.cpp:6:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_20761434_3649.cpp:6:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_20761434_3649.cpp:7:5: error: conflicting declaration 'int& nbsp'
 int main()  
     ^
0_0_20761434_3649.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const double e = exp(1.0);  
       ^
0_0_20761434_3649.cpp:7:17: error: expected constructor, destructor, or type conversion before 'nbsp'
 int main()  
                 ^
0_0_20761434_3649.cpp:7:27: error: expected constructor, destructor, or type conversion before ';' token
 int main()  
                           ^
0_0_20761434_3649.cpp:8:1: error: expected unqualified-id before '{' token
 {  
 ^


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-17 00:03:34, Gzip enabled