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_21201493_23173.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <cstdio>  
         ^
0_0_21201493_23173.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include <cstdlib>  
         ^
0_0_21201493_23173.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include <cstring>  
         ^
0_0_21201493_23173.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
 #include <cmath>  
         ^
0_0_21201493_23173.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
 #include <queue>  
         ^
0_0_21201493_23173.cpp:6:9: error: #include expects "FILENAME" or <FILENAME>
 #include <climits>  
         ^
0_0_21201493_23173.cpp:7:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_21201493_23173.cpp:7:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_21201493_23173.cpp:8:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_21201493_23173.cpp:8:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_21201493_23173.cpp:8:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_21201493_23173.cpp:8:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_21201493_23173.cpp:8:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_21201493_23173.cpp:8:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_21201493_23173.cpp:9:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_21201493_23173.cpp:9:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_21201493_23173.cpp:10:7: error: 'nbsp' declared as reference but not initialized
 const int MAX = 1003;  
       ^
0_0_21201493_23173.cpp:10:16: error: conflicting declaration 'int& nbsp'
 const int MAX = 1003;  
                ^
0_0_21201493_23173.cpp:10:7: note: previous declaration as 'const int& nbsp'
 const int MAX = 1003;  
       ^
0_0_21201493_23173.cpp:10:21: error: 'MAX' does not name a type
 const int MAX = 1003;  
                     ^
0_0_21201493_23173.cpp:10:30: error: expected unqualified-id before '=' token
 const int MAX = 1003;  
                              ^
0_0_21201493_23173.cpp:10:37: error: expected unqualified-id before numeric constant
 const int MAX = 1003;  
                                     ^
0_0_21201493_23173.cpp:10:47: error: expected constructor, destructor, or type conversion before ';' token
 const int MAX = 1003;  
                                               ^
0_0_21201493_23173.cpp:10:53: error: expected constructor, destructor, or type conversion before ';' token
 const int MAX = 1003;  
                                                     ^
0_0_21201493_23173.cpp:11:7: error: redefinition of 'const int& nbsp'
 const int dirx[5] = {0,0,1,0,-1};  
       ^
0_0_21201493_23173.cpp:10:7: note: 'const int& nbsp' previously declared here
 const int MAX = 1003;  
       ^
0_0_21201493_23173.cpp:11:16: error: conflicting declaration 'int& nbsp'
 const int dirx[5] = {0,0,1,0,-1};  
                ^
0_0_21201493_23173.cpp:10:7: note: previous declaration as 'const int& nbsp'
 const int MAX = 1003;  
       ^
0_0_21201493_23173.cpp:11:21: error: 'dirx' does not name a type
 const int dirx[5] = {0,0,1,0,-1};  
                     ^
0_0_21201493_23173.cpp:11:34: error: expected unqualified-id before '=' token
 const int dirx[5] = {0,0,1,0,-1};  
                                  ^
0_0_21201493_23173.cpp:11:41: error: expected unqualified-id before '{' token
 const int dirx[5] = {0,0,1,0,-1};  
                                         ^
0_0_21201493_23173.cpp:11:59: error: expected constructor, destructor, or type conversion before ';' token
 const int dirx[5] = {0,0,1,0,-1};  
                                                           ^
0_0_21201493_23173.cpp:11:65: error: expected constructor, destructor, or type conversion before ';' token
 const int dirx[5] = {0,0,1,0,-1};  
                                                                 ^
0_0_21201493_23173.cpp:12:7: error: redefinition of 'const int& nbsp'
 const int diry[5] = {0,1,0,-1,0};  
       ^
0_0_21201493_23173.cpp:10:7: note: 'const int& nbsp' previously declared here
 const int MAX = 1003;  
       ^
0_0_21201493_23173.cpp:12:16: error: conflicting declaration 'int& nbsp'
 const int diry[5] = {0,1,0,-1,0};  
                ^
0_0_21201493_23173.cpp:10:7: note: previous declaration as 'const int& nbsp'
 const int MAX = 1003;  
       ^
0_0_21201493_23173.cpp:12:21: error: 'diry' does not name a type
 const int diry[5] = {0,1,0,-1,0};  
                     ^
0_0_21201493_23173.cpp:12:34: error: expected unqualified-id before '=' token
 const int diry[5] = {0,1,0,-1,0};  
                                  ^
0_0_21201493_23173.cpp:12:41: error: expected unqualified-id before '{' token
 const int diry[5] = {0,1,0,-1,0};  
                                         ^
0_0_21201493_23173.cpp:12:59: error: expected constructor, destructor, or type conversion before ';' token
 const int diry[5] = {0,1,0,-1,0};  
                                                           ^
0_0_21201493_23173.cpp:12:65: error: expected constructor, destructor, or type conversion before ';' token
 const int diry[5] = {0,1,0,-1,0};  
                                                                 ^
0_0_21201493_23173.cpp:13:6: error: expected constructor, destructor, or type conversion before ';' token
   
      ^
0_0_21201493_23173.cpp:13:12: error: expected constructor, destructor, or type conversion before ';' token
   
            ^
0_0_21201493_23173.cpp:14:6: error: conflicting declaration 'bool& nbsp'
 bool visit[MAX][MAX];  
      ^
0_0_21201493_23173.cpp:10:7: note: previous declaration as 'const int& nbsp'
 const int MAX = 1003;  
       ^
0_0_21201493_23173.cpp:14:11: error: 'visit' does not name a type
 bool visit[MAX][MAX];  
           ^
0_0_21201493_23173.cpp:14:32: error: expected constructor, destructor, or type conversion before ';' token
 bool visit[MAX][MAX];  
                                ^
0_0_21201493_23173.cpp:14:38: error: expected constructor, destructor, or type conversion before ';' token
 bool visit[MAX][MAX];  
                                      ^
0_0_21201493_23173.cpp:15:5: error: conflicting declaration 'int& nbsp'
 int map[MAX][MAX];  
     ^
0_0_21201493_23173.cpp:10:7: note: previous declaration as 'const int& nbsp'
 const int MAX = 1003;  
       ^
0_0_21201493_23173.cpp:15:10: error: 'map' does not name a type
 int map[MAX][MAX];  
          ^
0_0_21201493_23173.cpp:15:29: error: expected constructor, destructor, or type conversion before ';' token
 int map[MAX][MAX];  
                             ^
0_0_21201493_23173.cpp:15:35: error: expected constructor, destructor, or type conversion before ';' token
 int map[MAX][MAX];  
                                   ^
0_0_21201493_23173.cpp:16:5: error: conflicting declaration 'int& nbsp'
 int wan[MAX][MAX];  
     ^
0_0_21201493_23173.cpp:10:7: note: previous declaration as 'const int& nbsp'
 const int MAX = 1003;  
       ^
0_0_21201493_23173.cpp:16:10: error: 'wan' does not name a type
 int wan[MAX][MAX];  
          ^
0_0_21201493_23173.cpp:16:29: error: expected constructor, destructor, or type conversion before ';' token
 int wan[MAX][MAX];  
                             ^
0_0_21201493_23173.cpp:16:35: error: expected constructor, destructor, or type conversion before ';' token
 int wan[MAX][MAX];  
                                   ^
0_0_21201493_23173.cpp:17:5: error: conflicting declaration 'int& nbsp'
 int n,m,bx,by;  
     ^
0_0_21201493_23173.cpp:10:7: note: previous declaration as 'const int& nbsp'
 const int MAX = 1003;  
       ^
0_0_21201493_23173.cpp:17:10: error: 'n' does not name a type
 int n,m,bx,by


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-19 00:12:20, Gzip enabled