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_30073188_9537.cpp:104:11: error: redefinition of 'const int maxn'
 const int maxn = 15;
           ^
0_0_30073188_9537.cpp:11:11: note: 'const int maxn' previously defined here
 const int maxn = 15;
           ^
0_0_30073188_9537.cpp:105:14: error: redefinition of 'const int dx []'
 const int dx[] = {1, 0, -1, 0};
              ^
0_0_30073188_9537.cpp:12:11: note: 'const int dx [4]' previously defined here
 const int dx[] = {1, 0, -1, 0};
           ^
0_0_30073188_9537.cpp:106:14: error: redefinition of 'const int dy []'
 const int dy[] = {0, -1, 0, 1};
              ^
0_0_30073188_9537.cpp:13:11: note: 'const int dy [4]' previously defined here
 const int dy[] = {0, -1, 0, 1};
           ^
0_0_30073188_9537.cpp:107:5: error: redefinition of 'int cnt'
 int cnt;
     ^
0_0_30073188_9537.cpp:14:5: note: 'int cnt' previously declared here
 int cnt;
     ^
0_0_30073188_9537.cpp:108:18: error: redefinition of 'int mp [15][15]'
 int mp[maxn][maxn];
                  ^
0_0_30073188_9537.cpp:15:5: note: 'int mp [15][15]' previously declared here
 int mp[maxn][maxn];
     ^
0_0_30073188_9537.cpp:109:19: error: redefinition of 'int vis [15][15]'
 int vis[maxn][maxn];
                   ^
0_0_30073188_9537.cpp:16:5: note: 'int vis [15][15]' previously declared here
 int vis[maxn][maxn];
     ^
0_0_30073188_9537.cpp: In function 'bool index(int, int)':
0_0_30073188_9537.cpp:111:6: error: redefinition of 'bool index(int, int)'
 bool index(int x, int y)
      ^
0_0_30073188_9537.cpp:18:6: note: 'bool index(int, int)' previously defined here
 bool index(int x, int y)
      ^
0_0_30073188_9537.cpp: In function 'void dfs(int, int)':
0_0_30073188_9537.cpp:116:6: error: redefinition of 'void dfs(int, int)'
 void dfs(int r, int c)
      ^
0_0_30073188_9537.cpp:23:6: note: 'void dfs(int, int)' previously defined here
 void dfs(int r, int c)
      ^
0_0_30073188_9537.cpp: In function 'bool solve()':
0_0_30073188_9537.cpp:135:6: error: redefinition of 'bool solve()'
 bool solve()
      ^
0_0_30073188_9537.cpp:42:6: note: 'bool solve()' previously defined here
 bool solve()
      ^
0_0_30073188_9537.cpp: In function 'int main()':
0_0_30073188_9537.cpp:153:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_30073188_9537.cpp:60: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-12-05 08:03:02, Gzip enabled