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_33035729_13385.cpp:103:5: error: redefinition of 'int n'
 int n,m;
     ^
0_0_33035729_13385.cpp:11:5: note: 'int n' previously declared here
 int n,m;
     ^
0_0_33035729_13385.cpp:103:7: error: redefinition of 'int m'
 int n,m;
       ^
0_0_33035729_13385.cpp:11:7: note: 'int m' previously declared here
 int n,m;
       ^
0_0_33035729_13385.cpp:104:14: error: redefinition of 'std::string s [1005]'
 string s[1005];
              ^
0_0_33035729_13385.cpp:12:8: note: 'std::string s [1005]' previously declared here
 string s[1005];
        ^
0_0_33035729_13385.cpp:105:19: error: redefinition of 'int vis [1005][1005]'
 int vis[1005][1005];
                   ^
0_0_33035729_13385.cpp:13:5: note: 'int vis [1005][1005]' previously declared here
 int vis[1005][1005];
     ^
0_0_33035729_13385.cpp:106:17: error: redefinition of 'std::map<char, char> mp'
 map <char,char> mp;
                 ^
0_0_33035729_13385.cpp:14:17: note: 'std::map<char, char> mp' previously declared here
 map <char,char> mp;
                 ^
0_0_33035729_13385.cpp:107:9: error: redefinition of 'int dx [5]'
 int dx[5] = {1,-1,0,0};
         ^
0_0_33035729_13385.cpp:15:5: note: 'int dx [5]' previously defined here
 int dx[5] = {1,-1,0,0};
     ^
0_0_33035729_13385.cpp:108:9: error: redefinition of 'int dy [5]'
 int dy[5] = {0,0,1,-1};
         ^
0_0_33035729_13385.cpp:16:5: note: 'int dy [5]' previously defined here
 int dy[5] = {0,0,1,-1};
     ^
0_0_33035729_13385.cpp:109:8: error: redefinition of 'struct node'
 struct node
        ^
0_0_33035729_13385.cpp:17:8: error: previous definition of 'struct node'
 struct node
        ^
0_0_33035729_13385.cpp:114:5: error: redefinition of 'int ans_girl'
 int ans_girl,ans_cat;
     ^
0_0_33035729_13385.cpp:22:5: note: 'int ans_girl' previously declared here
 int ans_girl,ans_cat;
     ^
0_0_33035729_13385.cpp:114:14: error: redefinition of 'int ans_cat'
 int ans_girl,ans_cat;
              ^
0_0_33035729_13385.cpp:22:14: note: 'int ans_cat' previously declared here
 int ans_girl,ans_cat;
              ^
0_0_33035729_13385.cpp: In function 'void bfs(int, int, char)':
0_0_33035729_13385.cpp:115:6: error: redefinition of 'void bfs(int, int, char)'
 void bfs(int r,int c,char ch)
      ^
0_0_33035729_13385.cpp:23:6: note: 'void bfs(int, int, char)' previously defined here
 void bfs(int r,int c,char ch)
      ^
0_0_33035729_13385.cpp: In function 'int main()':
0_0_33035729_13385.cpp:155:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_33035729_13385.cpp:63: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-10-03 08:26:28, Gzip enabled