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_23388000_31138.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <iostream>  
         ^
0_0_23388000_31138.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include <algorithm>  
         ^
0_0_23388000_31138.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include <queue>  
         ^
0_0_23388000_31138.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
 #include <cstring>  
         ^
0_0_23388000_31138.cpp:6:8: error: macro names must be identifiers
 #define max 1005  
        ^
0_0_23388000_31138.cpp:5:6: error: expected nested-name-specifier before '&' token
 using namespace std;  
      ^
0_0_23388000_31138.cpp:5:21: error: expected identifier before '&' token
 using namespace std;  
                     ^
0_0_23388000_31138.cpp:5:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                          ^
0_0_23388000_31138.cpp:5:27: error: 'std' does not name a type
 using namespace std;  
                           ^
0_0_23388000_31138.cpp:5:36: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                    ^
0_0_23388000_31138.cpp:5:42: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;  
                                          ^
0_0_23388000_31138.cpp:7:6: error: 'nbsp' declared as reference but not initialized
 bool visit[max];  
      ^
0_0_23388000_31138.cpp:7:11: error: 'visit' does not name a type
 bool visit[max];  
           ^
0_0_23388000_31138.cpp:7:27: error: expected constructor, destructor, or type conversion before ';' token
 bool visit[max];  
                           ^
0_0_23388000_31138.cpp:7:33: error: expected constructor, destructor, or type conversion before ';' token
 bool visit[max];  
                                 ^
0_0_23388000_31138.cpp:8:5: error: conflicting declaration 'int& nbsp'
 int pre[max];  
     ^
0_0_23388000_31138.cpp:7:6: note: previous declaration as 'bool& nbsp'
 bool visit[max];  
      ^
0_0_23388000_31138.cpp:8:10: error: 'pre' does not name a type
 int pre[max];  
          ^
0_0_23388000_31138.cpp:8:24: error: expected constructor, destructor, or type conversion before ';' token
 int pre[max];  
                        ^
0_0_23388000_31138.cpp:8:30: error: expected constructor, destructor, or type conversion before ';' token
 int pre[max];  
                              ^
0_0_23388000_31138.cpp:9:5: error: conflicting declaration 'int& nbsp'
 int map[max][max];  
     ^
0_0_23388000_31138.cpp:7:6: note: previous declaration as 'bool& nbsp'
 bool visit[max];  
      ^
0_0_23388000_31138.cpp:9:10: error: 'map' does not name a type
 int map[max][max];  
          ^
0_0_23388000_31138.cpp:9:29: error: expected constructor, destructor, or type conversion before ';' token
 int map[max][max];  
                             ^
0_0_23388000_31138.cpp:9:35: error: expected constructor, destructor, or type conversion before ';' token
 int map[max][max];  
                                   ^
0_0_23388000_31138.cpp:10:5: error: conflicting declaration 'int& nbsp'
 int s,t;  
     ^
0_0_23388000_31138.cpp:7:6: note: previous declaration as 'bool& nbsp'
 bool visit[max];  
      ^
0_0_23388000_31138.cpp:10:10: error: 's' does not name a type
 int s,t;  
          ^
0_0_23388000_31138.cpp:10:19: error: expected constructor, destructor, or type conversion before ';' token
 int s,t;  
                   ^
0_0_23388000_31138.cpp:10:25: error: expected constructor, destructor, or type conversion before ';' token
 int s,t;  
                         ^
0_0_23388000_31138.cpp:11:5: error: conflicting declaration 'int& nbsp'
 int n,m;  
     ^
0_0_23388000_31138.cpp:7:6: note: previous declaration as 'bool& nbsp'
 bool visit[max];  
      ^
0_0_23388000_31138.cpp:11:10: error: 'n' does not name a type
 int n,m;  
          ^
0_0_23388000_31138.cpp:11:19: error: expected constructor, destructor, or type conversion before ';' token
 int n,m;  
                   ^
0_0_23388000_31138.cpp:11:25: error: expected constructor, destructor, or type conversion before ';' token
 int n,m;  
                         ^
0_0_23388000_31138.cpp:12:6: error: redefinition of 'bool& nbsp'
 bool bfs()  
      ^
0_0_23388000_31138.cpp:7:6: note: 'bool& nbsp' previously declared here
 bool visit[max];  
      ^
0_0_23388000_31138.cpp:12:17: error: expected constructor, destructor, or type conversion before 'nbsp'
 bool bfs()  
                 ^
0_0_23388000_31138.cpp:12:27: error: expected constructor, destructor, or type conversion before ';' token
 bool bfs()  
                           ^
0_0_23388000_31138.cpp:13: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-09-28 18:19:31, Gzip enabled