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_18044160_26083.cpp:110:11: error: conflicting declaration 'home_man home [105]'
 }home[MAXN],man[MAXN];
           ^
0_0_18044160_26083.cpp:12:2: note: previous declaration as 'xy home [205]'
 }home[MAXN],man[MAXN];
  ^
0_0_18044160_26083.cpp:110:21: error: conflicting declaration 'home_man man [105]'
 }home[MAXN],man[MAXN];
                     ^
0_0_18044160_26083.cpp:12:13: note: previous declaration as 'xy man [205]'
 }home[MAXN],man[MAXN];
             ^
0_0_18044160_26083.cpp:111:53: error: conflicting declaration 'int pre [105]'
 int res,visx[MAXN],visy[MAXN],g[MAXN][MAXN],pre[MAXN],total1,total2,lx[MAXN],ly[MAXN],lack;
                                                     ^
0_0_18044160_26083.cpp:8:44: note: previous declaration as 'int pre [205]'
 int dist[MAXN],d[MAXN][MAXN],c[MAXN][MAXN],pre[MAXN],f[MAXN][MAXN],total1,total2,mark[MAXN],dis[MAXN];;
                                            ^
0_0_18044160_26083.cpp:111:55: error: redefinition of 'int total1'
 int res,visx[MAXN],visy[MAXN],g[MAXN][MAXN],pre[MAXN],total1,total2,lx[MAXN],ly[MAXN],lack;
                                                       ^
0_0_18044160_26083.cpp:8:68: note: 'int total1' previously declared here
 int dist[MAXN],d[MAXN][MAXN],c[MAXN][MAXN],pre[MAXN],f[MAXN][MAXN],total1,total2,mark[MAXN],dis[MAXN];;
                                                                    ^
0_0_18044160_26083.cpp:111:62: error: redefinition of 'int total2'
 int res,visx[MAXN],visy[MAXN],g[MAXN][MAXN],pre[MAXN],total1,total2,lx[MAXN],ly[MAXN],lack;
                                                              ^
0_0_18044160_26083.cpp:8:75: note: 'int total2' previously declared here
 int dist[MAXN],d[MAXN][MAXN],c[MAXN][MAXN],pre[MAXN],f[MAXN][MAXN],total1,total2,mark[MAXN],dis[MAXN];;
                                                                           ^
0_0_18044160_26083.cpp: In function 'int main()':
0_0_18044160_26083.cpp:164:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_18044160_26083.cpp:57:5: note: 'int main()' previously defined here
 int main()
     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-12 13:37:11, Gzip enabled