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