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_17083238_9446.cpp:4:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_17083238_9446.cpp:4:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_17083238_9446.cpp:4:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_17083238_9446.cpp:4:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_17083238_9446.cpp:4:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_17083238_9446.cpp:4:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_17083238_9446.cpp:5:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_17083238_9446.cpp:5:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_17083238_9446.cpp:6:7: error: expected identifier before '&' token
 struct STU  
       ^
0_0_17083238_9446.cpp:6:12: error: invalid type in declaration before ';' token
 struct STU  
            ^
0_0_17083238_9446.cpp:6:12: error: 'nbsp' declared as reference but not initialized
0_0_17083238_9446.cpp:6:13: error: 'STU' does not name a type
 struct STU  
             ^
0_0_17083238_9446.cpp:6:27: error: expected constructor, destructor, or type conversion before ';' token
 struct STU  
                           ^
0_0_17083238_9446.cpp:7:1: error: expected unqualified-id before '{' token
 {    
 ^
0_0_17083238_9446.cpp:10:8: error: expected constructor, destructor, or type conversion before ';' token
 };  
        ^
0_0_17083238_9446.cpp:10:14: error: expected constructor, destructor, or type conversion before ';' token
 };  
              ^
0_0_17083238_9446.cpp:11:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_17083238_9446.cpp:11:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_17083238_9446.cpp:12:6: error: conflicting declaration 'bool& nbsp'
 bool cmp(const STU &a,const STU &b)  
      ^
0_0_17083238_9446.cpp:6:8: note: previous declaration as 'int& nbsp'
 struct STU  
        ^
0_0_17083238_9446.cpp:12:25: error: expected ')' before ';' token
 bool cmp(const STU &a,const STU &b)  
                         ^
0_0_17083238_9446.cpp:12:25: error: expected constructor, destructor, or type conversion before ';' token
0_0_17083238_9446.cpp:12:26: error: 'STU' does not name a type
 bool cmp(const STU &a,const STU &b)  
                          ^
0_0_17083238_9446.cpp:12:37: error: expected constructor, destructor, or type conversion before ',' token
 bool cmp(const STU &a,const STU &b)  
                                     ^
0_0_17083238_9446.cpp:12:38: error: expected unqualified-id before 'const'
 bool cmp(const STU &a,const STU &b)  
                                      ^
0_0_17083238_9446.cpp:12:49: error: 'STU' does not name a type
 bool cmp(const STU &a,const STU &b)  
                                                 ^
0_0_17083238_9446.cpp:12:60: error: expected constructor, destructor, or type conversion before ')' token
 bool cmp(const STU &a,const STU &b)  
                                                            ^
0_0_17083238_9446.cpp:12:72: error: expected constructor, destructor, or type conversion before ';' token
 bool cmp(const STU &a,const STU &b)  
                                                                        ^
0_0_17083238_9446.cpp:13:1: error: expected unqualified-id before '{' token
 {  
 ^
0_0_17083238_9446.cpp:18:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_17083238_9446.cpp:18:13: error: expected constructor, destructor, or type conversion before ';' token
 }  
             ^
0_0_17083238_9446.cpp:19:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_17083238_9446.cpp:19:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_17083238_9446.cpp:20:5: error: redefinition of 'int& nbsp'
 int main()  
     ^
0_0_17083238_9446.cpp:6:8: note: 'int& nbsp' previously declared here
 struct STU  
        ^
0_0_17083238_9446.cpp:20:17: error: expected constructor, destructor, or type conversion before 'nbsp'
 int main()  
                 ^
0_0_17083238_9446.cpp:20:27: error: expected constructor, destructor, or type conversion before ';' token
 int main()  
                           ^
0_0_17083238_9446.cpp:21: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-27 06:46:06, Gzip enabled