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_30224298_26512.cpp:76:18: error: redefinition of 'char court [11][11]'
 char court[11][11];
                  ^
0_0_30224298_26512.cpp:5:6: note: 'char court [11][11]' previously declared here
 char court[11][11];
      ^
0_0_30224298_26512.cpp:77:5: error: redefinition of 'int cnt'
 int cnt=0;
     ^
0_0_30224298_26512.cpp:6:5: note: 'int cnt' previously defined here
 int cnt=0;
     ^
0_0_30224298_26512.cpp:78:6: error: redefinition of 'bool flag'
 bool flag=false;
      ^
0_0_30224298_26512.cpp:7:6: note: 'bool flag' previously defined here
 bool flag=false;
      ^
0_0_30224298_26512.cpp:79:15: error: redefinition of 'int idx [11][11]'
 int idx[11][11];
               ^
0_0_30224298_26512.cpp:8:5: note: 'int idx [11][11]' previously declared here
 int idx[11][11];
     ^
0_0_30224298_26512.cpp:80:16: error: redefinition of 'int pidx [11][11]'
 int pidx[11][11];
                ^
0_0_30224298_26512.cpp:9:5: note: 'int pidx [11][11]' previously declared here
 int pidx[11][11];
     ^
0_0_30224298_26512.cpp:81:8: error: redefinition of 'int x [5]'
 int x[5]= {1,0,-1,0};
        ^
0_0_30224298_26512.cpp:10:5: note: 'int x [5]' previously defined here
 int x[5]= {1,0,-1,0};
     ^
0_0_30224298_26512.cpp:82:8: error: redefinition of 'int y [5]'
 int y[5]= {0,-1,0,1};
        ^
0_0_30224298_26512.cpp:11:5: note: 'int y [5]' previously defined here
 int y[5]= {0,-1,0,1};
     ^
0_0_30224298_26512.cpp: In function 'void dfs(int, int)':
0_0_30224298_26512.cpp:83:6: error: redefinition of 'void dfs(int, int)'
 void dfs(int r,int c)
      ^
0_0_30224298_26512.cpp:12:6: note: 'void dfs(int, int)' previously defined here
 void dfs(int r,int c)
      ^
0_0_30224298_26512.cpp: In function 'int main()':
0_0_30224298_26512.cpp:101:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_30224298_26512.cpp:30:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_30224298_26512.cpp: At global scope:
0_0_30224298_26512.cpp:147:18: error: redefinition of 'char court [11][11]'
 char court[11][11];
                  ^
0_0_30224298_26512.cpp:5:6: note: 'char court [11][11]' previously declared here
 char court[11][11];
      ^
0_0_30224298_26512.cpp:148:5: error: redefinition of 'int cnt'
 int cnt=0;
     ^
0_0_30224298_26512.cpp:6:5: note: 'int cnt' previously defined here
 int cnt=0;
     ^
0_0_30224298_26512.cpp:149:6: error: redefinition of 'bool flag'
 bool flag=false;
      ^
0_0_30224298_26512.cpp:7:6: note: 'bool flag' previously defined here
 bool flag=false;
      ^
0_0_30224298_26512.cpp:150:15: error: redefinition of 'int idx [11][11]'
 int idx[11][11];
               ^
0_0_30224298_26512.cpp:8:5: note: 'int idx [11][11]' previously declared here
 int idx[11][11];
     ^
0_0_30224298_26512.cpp:151:16: error: redefinition of 'int pidx [11][11]'
 int pidx[11][11];
                ^
0_0_30224298_26512.cpp:9:5: note: 'int pidx [11][11]' previously declared here
 int pidx[11][11];
     ^
0_0_30224298_26512.cpp:152:8: error: redefinition of 'int x [5]'
 int x[5]= {1,0,-1,0};
        ^
0_0_30224298_26512.cpp:10:5: note: 'int x [5]' previously defined here
 int x[5]= {1,0,-1,0};
     ^
0_0_30224298_26512.cpp:153:8: error: redefinition of 'int y [5]'
 int y[5]= {0,-1,0,1};
        ^
0_0_30224298_26512.cpp:11:5: note: 'int y [5]' previously defined here
 int y[5]= {0,-1,0,1};
     ^
0_0_30224298_26512.cpp: In function 'void dfs(int, int)':
0_0_30224298_26512.cpp:154:6: error: redefinition of 'void dfs(int, int)'
 void dfs(int r,int c)
      ^
0_0_30224298_26512.cpp:12:6: note: 'void dfs(int, int)' previously defined here
 void dfs(int r,int c)
      ^
0_0_30224298_26512.cpp: In function 'int main()':
0_0_30224298_26512.cpp:172:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_30224298_26512.cpp:30: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 07:39:29, Gzip enabled