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_20375045_10792.cpp:4:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_20375045_10792.cpp:4:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_20375045_10792.cpp:4:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_20375045_10792.cpp:4:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_20375045_10792.cpp:4:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_20375045_10792.cpp:4:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_20375045_10792.cpp:5:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_20375045_10792.cpp:5:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_20375045_10792.cpp:6:7: error: expected identifier before '&' token
 struct block{  
       ^
0_0_20375045_10792.cpp:6:12: error: invalid type in declaration before ';' token
 struct block{  
            ^
0_0_20375045_10792.cpp:6:12: error: 'nbsp' declared as reference but not initialized
0_0_20375045_10792.cpp:6:13: error: 'block' does not name a type
 struct block{  
             ^
0_0_20375045_10792.cpp:11:50: error: expected constructor, destructor, or type conversion before ';' token
        };  
                                                  ^
0_0_20375045_10792.cpp:11:56: error: expected constructor, destructor, or type conversion before ';' token
        };  
                                                        ^
0_0_20375045_10792.cpp:12:6: error: expected constructor, destructor, or type conversion before ';' token
          
      ^
0_0_20375045_10792.cpp:12:12: error: expected constructor, destructor, or type conversion before ';' token
          
            ^
0_0_20375045_10792.cpp:12:18: error: expected constructor, destructor, or type conversion before ';' token
          
                  ^
0_0_20375045_10792.cpp:12:24: error: expected constructor, destructor, or type conversion before ';' token
          
                        ^
0_0_20375045_10792.cpp:12:30: error: expected constructor, destructor, or type conversion before ';' token
          
                              ^
0_0_20375045_10792.cpp:12:36: error: expected constructor, destructor, or type conversion before ';' token
          
                                    ^
0_0_20375045_10792.cpp:12:42: error: expected constructor, destructor, or type conversion before ';' token
          
                                          ^
0_0_20375045_10792.cpp:12:48: error: expected constructor, destructor, or type conversion before ';' token
          
                                                ^
0_0_20375045_10792.cpp:12:54: error: expected constructor, destructor, or type conversion before ';' token
          
                                                      ^
0_0_20375045_10792.cpp:13:6: error: conflicting declaration 'bool& nbsp'
 bool cmp(block &a,block &b)  
      ^
0_0_20375045_10792.cpp:6:8: note: previous declaration as 'int& nbsp'
 struct block{  
        ^
0_0_20375045_10792.cpp:13:14: error: expected constructor, destructor, or type conversion before '(' token
 bool cmp(block &a,block &b)  
              ^
0_0_20375045_10792.cpp:13:28: error: expected constructor, destructor, or type conversion before ',' token
 bool cmp(block &a,block &b)  
                            ^
0_0_20375045_10792.cpp:13:34: error: expected constructor, destructor, or type conversion before '&' token
 bool cmp(block &a,block &b)  
                                  ^
0_0_20375045_10792.cpp:13:42: error: expected constructor, destructor, or type conversion before ')' token
 bool cmp(block &a,block &b)  
                                          ^
0_0_20375045_10792.cpp:13:54: error: expected constructor, destructor, or type conversion before ';' token
 bool cmp(block &a,block &b)  
                                                      ^
0_0_20375045_10792.cpp:14:1: error: expected unqualified-id before '{' token
 {  
 ^
0_0_20375045_10792.cpp:16:13: error: expected constructor, destructor, or type conversion before ';' token
  }   
             ^
0_0_20375045_10792.cpp:16:19: error: expected constructor, destructor, or type conversion before ';' token
  }   
                   ^
0_0_20375045_10792.cpp:16:25: error: expected constructor, destructor, or type conversion before ';' token
  }   
                         ^
0_0_20375045_10792.cpp:17:6: error: expected constructor, destructor, or type conversion before ';' token
       
      ^
0_0_20375045_10792.cpp:17:12: error: expected constructor, destructor, or type conversion before ';' token
       
            ^
0_0_20375045_10792.cpp:17:18: error: expected constructor, destructor, or type conversion before ';' token
       
                  ^
0_0_20375045_10792.cpp:17:24: error: expected constructor, destructor, or type conversion before ';' token
       
                        ^
0_0_20375045_10792.cpp:17:30: error: expected constructor, destructor, or type conversion before ';' token
       
                              ^
0_0_20375045_10792.cpp:17:36: error: expected constructor, destructor, or type conversion before ';' token
       
                                    ^
0_0_20375045_10792.cpp:18:5: error: redefinition of 'int& nbsp'
 int main()  
     ^
0_0_20375045_10792.cpp:6:8: note: 'int& nbsp' previously declared here
 struct block{  
        ^
0_0_20375045_10792.cpp:18:17: error: expected constructor, destructor, or type conversion before 'nbsp'
 int main()  
                 ^
0_0_20375045_10792.cpp:18:27: error: expected constructor, destructor, or type conversion before ';' token
 int main()  
                           ^
0_0_20375045_10792.cpp:19: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-26 10:19:20, Gzip enabled