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_23156560_8567.cpp:111:18: error: redefinition of 'char map [105][105]'
 char map[105][105];
                  ^
0_0_23156560_8567.cpp:7:6: note: 'char map [105][105]' previously declared here
 char map[105][105]; 
      ^
0_0_23156560_8567.cpp:113:12: error: redefinition of 'int to [4][2]'
 int to[4][2] = {1,0,-1,0,0,1,0,-1};
            ^
0_0_23156560_8567.cpp:9:5: note: 'int to [4][2]' previously defined here
 int to[4][2] = {1,0,-1,0,0,1,0,-1}; 
     ^
0_0_23156560_8567.cpp:115:5: error: redefinition of 'int n'
 int n,m,cnt;
     ^
0_0_23156560_8567.cpp:11:5: note: 'int n' previously declared here
 int n,m,cnt; 
     ^
0_0_23156560_8567.cpp:115:7: error: redefinition of 'int m'
 int n,m,cnt;
       ^
0_0_23156560_8567.cpp:11:7: note: 'int m' previously declared here
 int n,m,cnt; 
       ^
0_0_23156560_8567.cpp:115:9: error: redefinition of 'int cnt'
 int n,m,cnt;
         ^
0_0_23156560_8567.cpp:11:9: note: 'int cnt' previously declared here
 int n,m,cnt; 
         ^
0_0_23156560_8567.cpp: In function 'void bfs(int, int)':
0_0_23156560_8567.cpp:118:7: error: redefinition of 'void bfs(int, int)'
 void  bfs(int x,int y)
       ^
0_0_23156560_8567.cpp:15:7: note: 'void bfs(int, int)' previously defined here
 void  bfs(int x,int y) 
       ^
0_0_23156560_8567.cpp: In function 'int main()':
0_0_23156560_8567.cpp:147:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_23156560_8567.cpp:45: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-30 03:40:49, Gzip enabled