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_23387750_15653.cpp:14:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_23387750_15653.cpp:14:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_23387750_15653.cpp:14:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_23387750_15653.cpp:14:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_23387750_15653.cpp:14:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_23387750_15653.cpp:14:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_23387750_15653.cpp:15:7: error: 'nbsp' declared as reference but not initialized
 const int INF=204;  
       ^
0_0_23387750_15653.cpp:15:16: error: conflicting declaration 'int& nbsp'
 const int INF=204;  
                ^
0_0_23387750_15653.cpp:15:7: note: previous declaration as 'const int& nbsp'
 const int INF=204;  
       ^
0_0_23387750_15653.cpp:15:21: error: 'INF' does not name a type
 const int INF=204;  
                     ^
0_0_23387750_15653.cpp:15:34: error: expected constructor, destructor, or type conversion before ';' token
 const int INF=204;  
                                  ^
0_0_23387750_15653.cpp:15:40: error: expected constructor, destructor, or type conversion before ';' token
 const int INF=204;  
                                        ^
0_0_23387750_15653.cpp:16:5: error: conflicting declaration 'int& nbsp'
 int cnt[INF];  
     ^
0_0_23387750_15653.cpp:15:7: note: previous declaration as 'const int& nbsp'
 const int INF=204;  
       ^
0_0_23387750_15653.cpp:16:10: error: 'cnt' does not name a type
 int cnt[INF];  
          ^
0_0_23387750_15653.cpp:16:24: error: expected constructor, destructor, or type conversion before ';' token
 int cnt[INF];  
                        ^
0_0_23387750_15653.cpp:16:30: error: expected constructor, destructor, or type conversion before ';' token
 int cnt[INF];  
                              ^
0_0_23387750_15653.cpp:17:5: error: conflicting declaration 'int& nbsp'
 int inq[INF];  
     ^
0_0_23387750_15653.cpp:15:7: note: previous declaration as 'const int& nbsp'
 const int INF=204;  
       ^
0_0_23387750_15653.cpp:17:10: error: 'inq' does not name a type
 int inq[INF];  
          ^
0_0_23387750_15653.cpp:17:24: error: expected constructor, destructor, or type conversion before ';' token
 int inq[INF];  
                        ^
0_0_23387750_15653.cpp:17:30: error: expected constructor, destructor, or type conversion before ';' token
 int inq[INF];  
                              ^
0_0_23387750_15653.cpp:18:5: error: conflicting declaration 'int& nbsp'
 int n,a,b;  
     ^
0_0_23387750_15653.cpp:15:7: note: previous declaration as 'const int& nbsp'
 const int INF=204;  
       ^
0_0_23387750_15653.cpp:18:10: error: 'n' does not name a type
 int n,a,b;  
          ^
0_0_23387750_15653.cpp:18:21: error: expected constructor, destructor, or type conversion before ';' token
 int n,a,b;  
                     ^
0_0_23387750_15653.cpp:18:27: error: expected constructor, destructor, or type conversion before ';' token
 int n,a,b;  
                           ^
0_0_23387750_15653.cpp:19:7: error: expected identifier before '&' token
 struct Node  
       ^
0_0_23387750_15653.cpp:19:12: error: invalid type in declaration before ';' token
 struct Node  
            ^
0_0_23387750_15653.cpp:19:12: error: conflicting declaration 'int& nbsp'
0_0_23387750_15653.cpp:15:7: note: previous declaration as 'const int& nbsp'
 const int INF=204;  
       ^
0_0_23387750_15653.cpp:19:13: error: 'Node' does not name a type
 struct Node  
             ^
0_0_23387750_15653.cpp:19:28: error: expected constructor, destructor, or type conversion before ';' token
 struct Node  
                            ^
0_0_23387750_15653.cpp:20: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-16 18:24:20, Gzip enabled