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_21020368_25858.cpp:5:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_21020368_25858.cpp:5:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_21020368_25858.cpp:5:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_21020368_25858.cpp:5:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_21020368_25858.cpp:5:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_21020368_25858.cpp:5:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_21020368_25858.cpp:6:7: error: 'nbsp' declared as reference but not initialized
 const int MAX=12;  
       ^
0_0_21020368_25858.cpp:6:16: error: conflicting declaration 'int& nbsp'
 const int MAX=12;  
                ^
0_0_21020368_25858.cpp:6:7: note: previous declaration as 'const int& nbsp'
 const int MAX=12;  
       ^
0_0_21020368_25858.cpp:6:21: error: 'MAX' does not name a type
 const int MAX=12;  
                     ^
0_0_21020368_25858.cpp:6:33: error: expected constructor, destructor, or type conversion before ';' token
 const int MAX=12;  
                                 ^
0_0_21020368_25858.cpp:6:39: error: expected constructor, destructor, or type conversion before ';' token
 const int MAX=12;  
                                       ^
0_0_21020368_25858.cpp:7:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_21020368_25858.cpp:7:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_21020368_25858.cpp:8:6: error: conflicting declaration 'char& nbsp'
 char s[MAX][MAX];  
      ^
0_0_21020368_25858.cpp:6:7: note: previous declaration as 'const int& nbsp'
 const int MAX=12;  
       ^
0_0_21020368_25858.cpp:8:11: error: 's' does not name a type
 char s[MAX][MAX];  
           ^
0_0_21020368_25858.cpp:8:28: error: expected constructor, destructor, or type conversion before ';' token
 char s[MAX][MAX];  
                            ^
0_0_21020368_25858.cpp:8:34: error: expected constructor, destructor, or type conversion before ';' token
 char s[MAX][MAX];  
                                  ^
0_0_21020368_25858.cpp:9:5: error: conflicting declaration 'int& nbsp'
 int lcx,lcy,lpx,lpy,lmx,lmy;  
     ^
0_0_21020368_25858.cpp:6:7: note: previous declaration as 'const int& nbsp'
 const int MAX=12;  
       ^
0_0_21020368_25858.cpp:9:10: error: 'lcx' does not name a type
 int lcx,lcy,lpx,lpy,lmx,lmy;  
          ^
0_0_21020368_25858.cpp:9:39: error: expected constructor, destructor, or type conversion before ';' token
 int lcx,lcy,lpx,lpy,lmx,lmy;  
                                       ^
0_0_21020368_25858.cpp:9:45: error: expected constructor, destructor, or type conversion before ';' token
 int lcx,lcy,lpx,lpy,lmx,lmy;  
                                             ^
0_0_21020368_25858.cpp:10:5: error: conflicting declaration 'int& nbsp'
 int ncx,ncy,npx,npy,nmx,nmy;  
     ^
0_0_21020368_25858.cpp:6:7: note: previous declaration as 'const int& nbsp'
 const int MAX=12;  
       ^
0_0_21020368_25858.cpp:10:10: error: 'ncx' does not name a type
 int ncx,ncy,npx,npy,nmx,nmy;  
          ^
0_0_21020368_25858.cpp:10:39: error: expected constructor, destructor, or type conversion before ';' token
 int ncx,ncy,npx,npy,nmx,nmy;  
                                       ^
0_0_21020368_25858.cpp:10:45: error: expected constructor, destructor, or type conversion before ';' token
 int ncx,ncy,npx,npy,nmx,nmy;  
                                             ^
0_0_21020368_25858.cpp:11:5: error: conflicting declaration 'int& nbsp'
 int R,C,sx,sy,p10[10]={1,10,100,1000,10000,100000,1000000};  
     ^
0_0_21020368_25858.cpp:6:7: note: previous declaration as 'const int& nbsp'
 const int MAX=12;  
       ^
0_0_21020368_25858.cpp:11:10: error: 'R' does not name a type
 int R,C,sx,sy,p10[10]={1,10,100,1000,10000,100000,1000000};  
          ^
0_0_21020368_25858.cpp:11:70: error: expected constructor, destructor, or type conversion before ';' token
 int R,C,sx,sy,p10[10]={1,10,100,1000,10000,100000,1000000};  
                                                                      ^
0_0_21020368_25858.cpp:11:76: error: expected constructor, destructor, or type conversion before ';' token
 int R,C,sx,sy,p10[10]={1,10,100,1000,10000,100000,1000000};  
                                                                            ^
0_0_21020368_25858.cpp:12:5: error: conflicting declaration 'int& nbsp'
 int v[1010000];  
     ^
0_0_21020368_25858.cpp:6:7: note: previous declaration as 'const int& nbsp'
 const int MAX=12;  
       ^
0_0_21020368_25858.cpp:12:10: error: 'v' does not name a type
 int v[1010000];  
          ^
0_0_21020368_25858.cpp:12:26: error: expected constructor, destructor, or type conversion before ';' token
 int v[1010000];  
                          ^
0_0_21020368_25858.cpp:12:32: error: expected constructor, destructor, or type conversion before ';' token
 int v[1010000];  
                                ^
0_0_21020368_25858.cpp:13:5: error: conflicting declaration 'int& nbsp'
 int dx[10]={1,-1,0,0};  
     ^
0_0_21020368_25858.cpp:6:7: note: previous declaration as 'const int& nbsp'
 const int MAX=12;  
       ^
0_0_21020368_25858.cpp:13:10: error: 'dx' does not name a type
 int dx[10]={1,-1,0,0};  
          ^
0_0_21020368_25858.cpp:13:33: error: expected constructor, destructor, or type conversion before ';' token
 int dx[10]={1,-1,0,0};  
                                 ^
0_0_21020368_25858.cpp:13:39: error: expected constructor, destructor, or type conversion before ';' token
 int dx[10]={1,-1,0,0};  
                                       ^
0_0_21020368_25858.cpp:14:5: error: conflicting declaration 'int& nbsp'
 int dy[10]={0,0,1,-1};  
     ^
0_0_21020368_25858.cpp:6:7: note: previous declaration as 'const int& nbsp'
 const int MAX=12;  
       ^
0_0_21020368_25858.cpp:14:10: error: 'dy' does not name a type
 int dy[10]={0,0,1,-1};  
          ^
0_0_21020368_25858.cpp:14:33: error: expected constructor, destructor, or type conversion before ';' token
 int dy[10]={0,0,1,-1};  
                                 ^
0_0_21020368_25858.cpp:14:39: error: expected constructor, destructor, or type conversion before ';' token
 int dy[10]={0,0,1,-1};  
                                       ^
0_0_21020368_25858.cpp:15:5: error: conflicting declaration 'int& nbsp'
 int mx[30]={-2,-2,-1,1,2,2,1,-1};  
     ^
0_0_21020368_25858.cpp:6:7: note: previous declaration as 'const int& nbsp'
 const int MAX=12;  
       ^
0_0_21020368_25858.cpp:15:10: error: 'mx' does not name a type
 int mx[30]={-2,-2,-1,1,2,2,1,-1};  
          ^
0_0_21020368_25858.cpp:15:44: error: expected constructor, destructor, or type conversion before ';' token
 int mx[30]={-2,-2,-1,1,2,2,1,-1};  
                                            ^
0_0_21020368_25858.cpp:15:50: error: expected constructor, destructor, or type conversion before ';' token
 int mx[30]={-2,-2,-1,1,2,2,1,-1};  
                                                  ^
0_0_21020368_25858.cpp:16:5: error: conflicting declaration 'int& nbsp'
 int mmy[30]={-1,1,2,2,1,-1,-2,-2};  
     ^
0_0_21020368_25858.cpp:6:7: note: previous declaration as 'const int& nbsp'
 const int MAX=12;  
       ^
0_0_21020368_25858.cpp:16:10: error: 'mmy' does not name a type
 int mmy[30]={-1,1,2,2,1,-1,-2,-2};  
          ^
0_0_21020368_25858.cpp:16:45: error: expected constructor, destructor, or type conversion before ';' token
 int mmy[30]={-1,1,2,2,1,-1,-2,-2};  
                                             ^
0_0_21020368_25858.cpp:16:51: error: expected constructor, destructor, or type conversion before ';' token
 int mmy[30]={-1,1,2,2,1,-1,-2,-2};  
                                                   ^
0_0_21020368_25858.cpp:17:5: error: conflicting declaration 'int& nbsp'
 int bb[30]={-1,-1,0,0,1,1,0,0};  
     ^
0_0_21020368_25858.cpp:6:7: note: previous declaration as 'const int& nbsp'
 const int MAX=12;  
       ^
0_0_21020368_25858.cpp:17:10: error: 'bb' does not name a type
 int bb[30]={-1,-1,0,0,1,1,0,0};  
          ^
0_0_21020368_25858.cpp:17:42: error: expected constructor, destructor, or type conversion


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 14:34:26, Gzip enabled