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_19826203_5917.cpp:7:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_19826203_5917.cpp:7:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_19826203_5917.cpp:7:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_19826203_5917.cpp:7:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_19826203_5917.cpp:7:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_19826203_5917.cpp:7:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_19826203_5917.cpp:8:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_19826203_5917.cpp:8:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_19826203_5917.cpp:9:7: error: 'nbsp' declared as reference but not initialized
 const int N = 16100;  
       ^
0_0_19826203_5917.cpp:9:16: error: conflicting declaration 'int& nbsp'
 const int N = 16100;  
                ^
0_0_19826203_5917.cpp:9:7: note: previous declaration as 'const int& nbsp'
 const int N = 16100;  
       ^
0_0_19826203_5917.cpp:9:21: error: 'N' does not name a type
 const int N = 16100;  
                     ^
0_0_19826203_5917.cpp:9:28: error: expected unqualified-id before '=' token
 const int N = 16100;  
                            ^
0_0_19826203_5917.cpp:9:35: error: expected unqualified-id before numeric constant
 const int N = 16100;  
                                   ^
0_0_19826203_5917.cpp:9:46: error: expected constructor, destructor, or type conversion before ';' token
 const int N = 16100;  
                                              ^
0_0_19826203_5917.cpp:9:52: error: expected constructor, destructor, or type conversion before ';' token
 const int N = 16100;  
                                                    ^
0_0_19826203_5917.cpp:10:7: error: redefinition of 'const int& nbsp'
 const int MAXM = 40200;  
       ^
0_0_19826203_5917.cpp:9:7: note: 'const int& nbsp' previously declared here
 const int N = 16100;  
       ^
0_0_19826203_5917.cpp:10:16: error: conflicting declaration 'int& nbsp'
 const int MAXM = 40200;  
                ^
0_0_19826203_5917.cpp:9:7: note: previous declaration as 'const int& nbsp'
 const int N = 16100;  
       ^
0_0_19826203_5917.cpp:10:21: error: 'MAXM' does not name a type
 const int MAXM = 40200;  
                     ^
0_0_19826203_5917.cpp:10:31: error: expected unqualified-id before '=' token
 const int MAXM = 40200;  
                               ^
0_0_19826203_5917.cpp:10:38: error: expected unqualified-id before numeric constant
 const int MAXM = 40200;  
                                      ^
0_0_19826203_5917.cpp:10:49: error: expected constructor, destructor, or type conversion before ';' token
 const int MAXM = 40200;  
                                                 ^
0_0_19826203_5917.cpp:10:55: error: expected constructor, destructor, or type conversion before ';' token
 const int MAXM = 40200;  
                                                       ^
0_0_19826203_5917.cpp:11:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_19826203_5917.cpp:11:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_19826203_5917.cpp:12:5: error: conflicting declaration 'int& nbsp'
 int n,m;  
     ^
0_0_19826203_5917.cpp:9:7: note: previous declaration as 'const int& nbsp'
 const int N = 16100;  
       ^
0_0_19826203_5917.cpp:12:10: error: 'n' does not name a type
 int n,m;  
          ^
0_0_19826203_5917.cpp:12:19: error: expected constructor, destructor, or type conversion before ';' token
 int n,m;  
                   ^
0_0_19826203_5917.cpp:12:25: error: expected constructor, destructor, or type conversion before ';' token
 int n,m;  
                         ^
0_0_19826203_5917.cpp:13:6: error: conflicting declaration 'bool& nbsp'
 bool mark[N];  
      ^
0_0_19826203_5917.cpp:9:7: note: previous declaration as 'const int& nbsp'
 const int N = 16100;  
       ^
0_0_19826203_5917.cpp:13:11: error: 'mark' does not name a type
 bool mark[N];  
           ^
0_0_19826203_5917.cpp:13:24: error: expected constructor, destructor, or type conversion before ';' token
 bool mark[N];  
                        ^
0_0_19826203_5917.cpp:13:30: error: expected constructor, destructor, or type conversion before ';' token
 bool mark[N];  
                              ^
0_0_19826203_5917.cpp:14:5: error: conflicting declaration 'int& nbsp'
 int sta[N],top;  
     ^
0_0_19826203_5917.cpp:9:7: note: previous declaration as 'const int& nbsp'
 const int N = 16100;  
       ^
0_0_19826203_5917.cpp:14:10: error: 'sta' does not name a type
 int sta[N],top;  
          ^
0_0_19826203_5917.cpp:14:26: error: expected constructor, destructor, or type conversion before ';' token
 int sta[N],top;  
                          ^
0_0_19826203_5917.cpp:14:32: error: expected constructor, destructor, or type conversion before ';' token
 int sta[N],top;  
                                ^
0_0_19826203_5917.cpp:15:7: error: expected identifier before '&' token
 struct Edge  
       ^
0_0_19826203_5917.cpp:15:12: error: invalid type in declaration before ';' token
 struct Edge  
            ^
0_0_19826203_5917.cpp:15:12: error: conflicting declaration 'int& nbsp'
0_0_19826203_5917.cpp:9:7: note: previous declaration as 'const int& nbsp'
 const int N = 16100;  
       ^
0_0_19826203_5917.cpp:15:13: error: 'Edge' does not name a type
 struct Edge  
             ^
0_0_19826203_5917.cpp:15:28: error: expected constructor, destructor, or type conversion before ';' token
 struct Edge  
                            ^
0_0_19826203_5917.cpp:16:1: error: expected unqualified-id before '{' token
 {  
 ^
0_0_19826203_5917.cpp:18:2: error: 'es' does not name a type
 }es[MAXM];  
  ^
0_0_19826203_5917.cpp:18:16: error: expected constructor, destructor, or type conversion before ';' token
 }es[MAXM];  
                ^
0_0_19826203_5917.cpp:18:22: error: expected constructor, destructor, or type conversion before ';' token
 }es[MAXM];  
                      ^
0_0_19826203_5917.cpp:19:5: error: conflicting declaration 'int& nbsp'
 int head[N];  
     ^
0_0_19826203_5917.cpp:9:7: note: previous declaration as 'const int& nbsp'
 const int N = 16100;  
       ^
0_0_19826203_5917.cpp:19:10: error: 'head' does not name a type
 int head[N];  
          ^
0_0_19826203_5917.cpp:19:23: error: expected constructor, destructor, or type conversion before ';' token
 int head[N];  
                       ^
0_0_19826203_5917.cpp:19:29: error: expected constructor, destructor, or type conversion before ';' token
 int head[N];  
                             ^
0_0_19826203_5917.cpp:20:5: error: conflicting declaration 'int& nbsp'
 int cnt=0;  
     ^
0_0_19826203_5917.cpp:9:7: note: previous declaration as 'const int& nbsp'
 const int N = 16100;  
       ^
0_0_19826203_5917.cpp:20:10: error: 'cnt' does not name a type
 int cnt=0;  
          ^
0_0_19826203_5917.cpp:20:21: error: expected constructor, destructor, or type conversion before ';' token
 int cnt=0;  
                     ^
0_0_19826203_5917.cpp:20:27: error: expected constructor, destructor, or type conversion before ';' token
 int cnt=0;  
                           ^
0_0_19826203_5917.cpp:21:8: error: 'nbsp' declared as an 'inline' variable
 inline void add_edge(int u,int v)  
        ^
0_0_19826203_5917.cpp:21:8: error: conflicting declaration 'int& nbsp'
0_0_19826203_5917.cpp:9:7: note: previous declaration as 'const int& nbsp'
 const int N = 16100;  
       ^
0_0_19826203_5917.cpp:21:18: error: cannot declare reference to 'void'
 inline void add_edge(int u,int v)  
                  ^
0_0_19826203_5917.cpp:21:18: error: variable or field 'nbsp' declared void
0_0_198


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-23 06:49:23, Gzip enabled