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_36726027_8419.cpp:67:11: error: redefinition of 'const int maxn'
 const int maxn=2e3+10;
           ^
0_0_36726027_8419.cpp:10:11: note: 'const int maxn' previously defined here
 const int maxn=2e3+10;
           ^
0_0_36726027_8419.cpp:68:5: error: redefinition of 'int n'
 int n,m,top,ans,a[maxn][maxn],b[maxn][maxn],st[maxn];
     ^
0_0_36726027_8419.cpp:11:5: note: 'int n' previously declared here
 int n,m,top,ans,a[maxn][maxn],b[maxn][maxn],st[maxn];
     ^
0_0_36726027_8419.cpp:68:7: error: redefinition of 'int m'
 int n,m,top,ans,a[maxn][maxn],b[maxn][maxn],st[maxn];
       ^
0_0_36726027_8419.cpp:11:7: note: 'int m' previously declared here
 int n,m,top,ans,a[maxn][maxn],b[maxn][maxn],st[maxn];
       ^
0_0_36726027_8419.cpp:68:9: error: redefinition of 'int top'
 int n,m,top,ans,a[maxn][maxn],b[maxn][maxn],st[maxn];
         ^
0_0_36726027_8419.cpp:11:9: note: 'int top' previously declared here
 int n,m,top,ans,a[maxn][maxn],b[maxn][maxn],st[maxn];
         ^
0_0_36726027_8419.cpp:68:13: error: redefinition of 'int ans'
 int n,m,top,ans,a[maxn][maxn],b[maxn][maxn],st[maxn];
             ^
0_0_36726027_8419.cpp:11:13: note: 'int ans' previously declared here
 int n,m,top,ans,a[maxn][maxn],b[maxn][maxn],st[maxn];
             ^
0_0_36726027_8419.cpp:68:29: error: redefinition of 'int a [2010][2010]'
 int n,m,top,ans,a[maxn][maxn],b[maxn][maxn],st[maxn];
                             ^
0_0_36726027_8419.cpp:11:17: note: 'int a [2010][2010]' previously declared here
 int n,m,top,ans,a[maxn][maxn],b[maxn][maxn],st[maxn];
                 ^
0_0_36726027_8419.cpp:68:43: error: redefinition of 'int b [2010][2010]'
 int n,m,top,ans,a[maxn][maxn],b[maxn][maxn],st[maxn];
                                           ^
0_0_36726027_8419.cpp:11:31: note: 'int b [2010][2010]' previously declared here
 int n,m,top,ans,a[maxn][maxn],b[maxn][maxn],st[maxn];
                               ^
0_0_36726027_8419.cpp:68:52: error: redefinition of 'int st [2010]'
 int n,m,top,ans,a[maxn][maxn],b[maxn][maxn],st[maxn];
                                                    ^
0_0_36726027_8419.cpp:11:45: note: 'int st [2010]' previously declared here
 int n,m,top,ans,a[maxn][maxn],b[maxn][maxn],st[maxn];
                                             ^
0_0_36726027_8419.cpp: In function 'int main()':
0_0_36726027_8419.cpp:69:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_36726027_8419.cpp:12: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-01 23:33:11, Gzip enabled