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_21021015_5543.cpp:6:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_21021015_5543.cpp:6:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_21021015_5543.cpp:6:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_21021015_5543.cpp:6:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_21021015_5543.cpp:6:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_21021015_5543.cpp:6:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_21021015_5543.cpp:7:1: error: 'string' does not name a type
 string ch;  
 ^
0_0_21021015_5543.cpp:7:13: error: 'ch' does not name a type
 string ch;  
             ^
0_0_21021015_5543.cpp:7:21: error: expected constructor, destructor, or type conversion before ';' token
 string ch;  
                     ^
0_0_21021015_5543.cpp:7:27: error: expected constructor, destructor, or type conversion before ';' token
 string ch;  
                           ^
0_0_21021015_5543.cpp:8:5: error: 'nbsp' declared as reference but not initialized
 int l;  
     ^
0_0_21021015_5543.cpp:8:10: error: 'l' does not name a type
 int l;  
          ^
0_0_21021015_5543.cpp:8:17: error: expected constructor, destructor, or type conversion before ';' token
 int l;  
                 ^
0_0_21021015_5543.cpp:8:23: error: expected constructor, destructor, or type conversion before ';' token
 int l;  
                       ^
0_0_21021015_5543.cpp:9:7: error: expected identifier before '&' token
 struct Node  
       ^
0_0_21021015_5543.cpp:9:12: error: invalid type in declaration before ';' token
 struct Node  
            ^
0_0_21021015_5543.cpp:9:12: error: redefinition of 'int& nbsp'
0_0_21021015_5543.cpp:8:5: note: 'int& nbsp' previously declared here
 int l;  
     ^
0_0_21021015_5543.cpp:9:13: error: 'Node' does not name a type
 struct Node  
             ^
0_0_21021015_5543.cpp:9:28: error: expected constructor, destructor, or type conversion before ';' token
 struct Node  
                            ^
0_0_21021015_5543.cpp:10: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-30 09:22:20, Gzip enabled