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_23387769_8847.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <iostream>
         ^
0_0_23387769_8847.cpp:2:6: error: expected nested-name-specifier before '&' token
 using namespace std;
      ^
0_0_23387769_8847.cpp:2:21: error: expected identifier before '&' token
 using namespace std;
                     ^
0_0_23387769_8847.cpp:2:26: error: expected constructor, destructor, or type conversion before ';' token
 using namespace std;
                          ^
0_0_23387769_8847.cpp:2:27: error: 'std' does not name a type
 using namespace std;
                           ^
0_0_23387769_8847.cpp:3:7: error: 'nbsp' declared as reference but not initialized
 const int MAX = 200;
       ^
0_0_23387769_8847.cpp:3:16: error: conflicting declaration 'int& nbsp'
 const int MAX = 200;
                ^
0_0_23387769_8847.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int MAX = 200;
       ^
0_0_23387769_8847.cpp:3:21: error: 'MAX' does not name a type
 const int MAX = 200;
                     ^
0_0_23387769_8847.cpp:3:30: error: expected unqualified-id before '=' token
 const int MAX = 200;
                              ^
0_0_23387769_8847.cpp:3:37: error: expected unqualified-id before numeric constant
 const int MAX = 200;
                                     ^
0_0_23387769_8847.cpp:4:7: error: redefinition of 'const int& nbsp'
 const int INF = 0x7FFFFFF;
       ^
0_0_23387769_8847.cpp:3:7: note: 'const int& nbsp' previously declared here
 const int MAX = 200;
       ^
0_0_23387769_8847.cpp:4:16: error: conflicting declaration 'int& nbsp'
 const int INF = 0x7FFFFFF;
                ^
0_0_23387769_8847.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int MAX = 200;
       ^
0_0_23387769_8847.cpp:4:21: error: 'INF' does not name a type
 const int INF = 0x7FFFFFF;
                     ^
0_0_23387769_8847.cpp:4:30: error: expected unqualified-id before '=' token
 const int INF = 0x7FFFFFF;
                              ^
0_0_23387769_8847.cpp:4:37: error: expected unqualified-id before numeric constant
 const int INF = 0x7FFFFFF;
                                     ^
0_0_23387769_8847.cpp:5:6: error: conflicting declaration 'bool& nbsp'
 bool UP = true;
      ^
0_0_23387769_8847.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int MAX = 200;
       ^
0_0_23387769_8847.cpp:5:11: error: 'UP' does not name a type
 bool UP = true;
           ^
0_0_23387769_8847.cpp:5:19: error: expected unqualified-id before '=' token
 bool UP = true;
                   ^
0_0_23387769_8847.cpp:5:26: error: expected unqualified-id before 'true'
 bool UP = true;
                          ^
0_0_23387769_8847.cpp:6:6: error: conflicting declaration 'bool& nbsp'
 bool DOWN = false;
      ^
0_0_23387769_8847.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int MAX = 200;
       ^
0_0_23387769_8847.cpp:6:11: error: 'DOWN' does not name a type
 bool DOWN = false;
           ^
0_0_23387769_8847.cpp:6:21: error: expected unqualified-id before '=' token
 bool DOWN = false;
                     ^
0_0_23387769_8847.cpp:6:28: error: expected unqualified-id before 'false'
 bool DOWN = false;
                            ^
0_0_23387769_8847.cpp:7:5: error: conflicting declaration 'int& nbsp'
 int N,A,B;
     ^
0_0_23387769_8847.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int MAX = 200;
       ^
0_0_23387769_8847.cpp:7:10: error: 'N' does not name a type
 int N,A,B;
          ^
0_0_23387769_8847.cpp:8:5: error: conflicting declaration 'int& nbsp'
 int g[MAX+1][MAX+1];
     ^
0_0_23387769_8847.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int MAX = 200;
       ^
0_0_23387769_8847.cpp:8:10: error: 'g' does not name a type
 int g[MAX+1][MAX+1];
          ^
0_0_23387769_8847.cpp:9:5: error: conflicting declaration 'int& nbsp'
 int hash[MAX+1];
     ^
0_0_23387769_8847.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int MAX = 200;
       ^
0_0_23387769_8847.cpp:9:10: error: 'hash' does not name a type
 int hash[MAX+1];
          ^
0_0_23387769_8847.cpp:10:5: error: conflicting declaration 'int& nbsp'
 int path[MAX+1];
     ^
0_0_23387769_8847.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int MAX = 200;
       ^
0_0_23387769_8847.cpp:10:10: error: 'path' does not name a type
 int path[MAX+1];
          ^
0_0_23387769_8847.cpp:11:5: error: conflicting declaration 'int& nbsp'
 int K[MAX+1];
     ^
0_0_23387769_8847.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int MAX = 200;
       ^
0_0_23387769_8847.cpp:11:10: error: 'K' does not name a type
 int K[MAX+1];
          ^
0_0_23387769_8847.cpp:13:5: error: conflicting declaration 'int& nbsp'
 int Dijkstra ( int beg , int end )
     ^
0_0_23387769_8847.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int MAX = 200;
       ^
0_0_23387769_8847.cpp:13:10: error: 'Dijkstra' does not name a type
 int Dijkstra ( int beg , int end )
          ^
0_0_23387769_8847.cpp:13:30: error: expected ')' before ';' token
 int Dijkstra ( int beg , int end )
                              ^
0_0_23387769_8847.cpp:13:35: error: conflicting declaration 'int& nbsp'
 int Dijkstra ( int beg , int end )
                                   ^
0_0_23387769_8847.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int MAX = 200;
       ^
0_0_23387769_8847.cpp:13:40: error: 'beg' does not name a type
 int Dijkstra ( int beg , int end )
                                        ^
0_0_23387769_8847.cpp:13:49: error: expected unqualified-id before ',' token
 int Dijkstra ( int beg , int end )
                                                 ^
0_0_23387769_8847.cpp:13:55: error: expected constructor, destructor, or type conversion before ';' token
 int Dijkstra ( int beg , int end )
                                                       ^
0_0_23387769_8847.cpp:13:60: error: conflicting declaration 'int& nbsp'
 int Dijkstra ( int beg , int end )
                                                            ^
0_0_23387769_8847.cpp:3:7: note: previous declaration as 'const int& nbsp'
 const int MAX = 200;
       ^
0_0_23387769_8847.cpp:13:65: error: 'end' does not name a type
 int Dijkstra ( int beg , int end )
                                                                 ^
0_0_23387769_8847.cpp:13:74: error: expected unqualified-id before ')' token
 int Dijkstra ( int beg , int end )
                                                                          ^


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:21:46, Gzip enabled