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_34717357_11982.cpp:5:14: error: expected unqualified-id before numeric constant
 #define MAXN 100 + 10  
              ^
0_0_34717357_11982.cpp:86:11: note: in expansion of macro 'MAXN'
 const int MAXN = 110, INF = 0x3f3f3f;
           ^
0_0_34717357_11982.cpp:87:25: error: conflicting declaration 'char maze [110][111]'
 char maze[MAXN][MAXN + 1];
                         ^
0_0_34717357_11982.cpp:13:6: note: previous declaration as 'char maze [110][110]'
 char maze[MAXN][MAXN];
      ^
0_0_34717357_11982.cpp:88:17: error: redefinition of 'int d [110][110]'
 int d[MAXN][MAXN];//
                 ^
0_0_34717357_11982.cpp:14:5: note: 'int d [110][110]' previously declared here
 int d[MAXN][MAXN];//
     ^
0_0_34717357_11982.cpp: In function 'int main()':
0_0_34717357_11982.cpp:92:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_34717357_11982.cpp:17:5: note: 'int main()' previously defined here
 int main(){
     ^


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-23 09:34:09, Gzip enabled