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_17661467_21184.cpp:129:5: error: redefinition of 'int n'
 int n,m;
     ^
0_0_17661467_21184.cpp:15:5: note: 'int n' previously declared here
 int n,m;
     ^
0_0_17661467_21184.cpp:129:7: error: redefinition of 'int m'
 int n,m;
       ^
0_0_17661467_21184.cpp:15:7: note: 'int m' previously declared here
 int n,m;
       ^
0_0_17661467_21184.cpp:130:19: error: redefinition of 'char mp [1005][1005]'
 char mp[1005][1005];
                   ^
0_0_17661467_21184.cpp:16:6: note: 'char mp [1005][1005]' previously declared here
 char mp[1005][1005];
      ^
0_0_17661467_21184.cpp: In function 'long long int get(long long int, long long int)':
0_0_17661467_21184.cpp:131:11: error: redefinition of 'long long int get(long long int, long long int)'
 long long get(long long n,long long m)
           ^
0_0_17661467_21184.cpp:17:11: note: 'long long int get(long long int, long long int)' previously defined here
 long long get(long long n,long long m)
           ^
0_0_17661467_21184.cpp: In function 'long long int get2(long long int, long long int)':
0_0_17661467_21184.cpp:135:11: error: redefinition of 'long long int get2(long long int, long long int)'
 long long get2(long long x,long long y)
           ^
0_0_17661467_21184.cpp:21:11: note: 'long long int get2(long long int, long long int)' previously defined here
 long long get2(long long x,long long y)
           ^
0_0_17661467_21184.cpp: At global scope:
0_0_17661467_21184.cpp:139:12: error: redefinition of 'int xx [1005]'
 int xx[1005],yy[1005],cnt2;
            ^
0_0_17661467_21184.cpp:25:5: note: 'int xx [1005]' previously declared here
 int xx[1005],yy[1005],cnt2;
     ^
0_0_17661467_21184.cpp:139:21: error: redefinition of 'int yy [1005]'
 int xx[1005],yy[1005],cnt2;
                     ^
0_0_17661467_21184.cpp:25:14: note: 'int yy [1005]' previously declared here
 int xx[1005],yy[1005],cnt2;
              ^
0_0_17661467_21184.cpp:139:23: error: redefinition of 'int cnt2'
 int xx[1005],yy[1005],cnt2;
                       ^
0_0_17661467_21184.cpp:25:23: note: 'int cnt2' previously declared here
 int xx[1005],yy[1005],cnt2;
                       ^
0_0_17661467_21184.cpp:140:12: error: redefinition of 'int pr [1005]'
 int pr[1005],pc[1005];
            ^
0_0_17661467_21184.cpp:26:5: note: 'int pr [1005]' previously declared here
 int pr[1005],pc[1005];
     ^
0_0_17661467_21184.cpp:140:21: error: redefinition of 'int pc [1005]'
 int pr[1005],pc[1005];
                     ^
0_0_17661467_21184.cpp:26:14: note: 'int pc [1005]' previously declared here
 int pr[1005],pc[1005];
              ^
0_0_17661467_21184.cpp: In function 'int main()':
0_0_17661467_21184.cpp:141:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_17661467_21184.cpp:27: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.000000(s) query 1, Server time : 2025-02-18 18:53:54, Gzip enabled