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_15436374_29508.cpp:98:15: error: redefinition of 'int a [105][105]'
 int a[105][105];
               ^
0_0_15436374_29508.cpp:6:5: note: 'int a [105][105]' previously declared here
 int a[105][105];
     ^
0_0_15436374_29508.cpp:99:5: error: redefinition of 'int n'
 int n;
     ^
0_0_15436374_29508.cpp:7:5: note: 'int n' previously declared here
 int n;
     ^
0_0_15436374_29508.cpp:100:5: error: redefinition of 'int max1'
 int max1=-1,q=0;
     ^
0_0_15436374_29508.cpp:8:5: note: 'int max1' previously defined here
 int max1=-1,q=0;
     ^
0_0_15436374_29508.cpp:100:13: error: redefinition of 'int q'
 int max1=-1,q=0;
             ^
0_0_15436374_29508.cpp:8:13: note: 'int q' previously defined here
 int max1=-1,q=0;
             ^
0_0_15436374_29508.cpp: In function 'void my_next(int, int)':
0_0_15436374_29508.cpp:102:6: error: redefinition of 'void my_next(int, int)'
 void my_next(int x,int y)
      ^
0_0_15436374_29508.cpp:10:6: note: 'void my_next(int, int)' previously defined here
 void my_next(int x,int y)
      ^
0_0_15436374_29508.cpp: In function 'int main(int, char**)':
0_0_15436374_29508.cpp:160:5: error: redefinition of 'int main(int, char**)'
 int main(int argc, char *argv[])
     ^
0_0_15436374_29508.cpp:68:5: note: 'int main(int, char**)' previously defined here
 int main(int argc, char *argv[])
     ^
0_0_15436374_29508.cpp: At global scope:
0_0_15436374_29508.cpp:190:15: error: redefinition of 'int a [105][105]'
 int a[105][105];
               ^
0_0_15436374_29508.cpp:6:5: note: 'int a [105][105]' previously declared here
 int a[105][105];
     ^
0_0_15436374_29508.cpp:191:5: error: redefinition of 'int n'
 int n;
     ^
0_0_15436374_29508.cpp:7:5: note: 'int n' previously declared here
 int n;
     ^
0_0_15436374_29508.cpp:192:5: error: redefinition of 'int max1'
 int max1=-1,q=0;
     ^
0_0_15436374_29508.cpp:8:5: note: 'int max1' previously defined here
 int max1=-1,q=0;
     ^
0_0_15436374_29508.cpp:192:13: error: redefinition of 'int q'
 int max1=-1,q=0;
             ^
0_0_15436374_29508.cpp:8:13: note: 'int q' previously defined here
 int max1=-1,q=0;
             ^
0_0_15436374_29508.cpp: In function 'void my_next(int, int)':
0_0_15436374_29508.cpp:194:6: error: redefinition of 'void my_next(int, int)'
 void my_next(int x,int y)
      ^
0_0_15436374_29508.cpp:10:6: note: 'void my_next(int, int)' previously defined here
 void my_next(int x,int y)
      ^
0_0_15436374_29508.cpp: In function 'int main(int, char**)':
0_0_15436374_29508.cpp:252:5: error: redefinition of 'int main(int, char**)'
 int main(int argc, char *argv[])
     ^
0_0_15436374_29508.cpp:68:5: note: 'int main(int, char**)' previously defined here
 int main(int argc, char *argv[])
     ^
0_0_15436374_29508.cpp: At global scope:
0_0_15436374_29508.cpp:282:15: error: redefinition of 'int a [105][105]'
 int a[105][105];
               ^
0_0_15436374_29508.cpp:6:5: note: 'int a [105][105]' previously declared here
 int a[105][105];
     ^
0_0_15436374_29508.cpp:283:5: error: redefinition of 'int n'
 int n;
     ^
0_0_15436374_29508.cpp:7:5: note: 'int n' previously declared here
 int n;
     ^
0_0_15436374_29508.cpp:284:5: error: redefinition of 'int max1'
 int max1=-1,q=0;
     ^
0_0_15436374_29508.cpp:8:5: note: 'int max1' previously defined here
 int max1=-1,q=0;
     ^
0_0_15436374_29508.cpp:284:13: error: redefinition of 'int q'
 int max1=-1,q=0;
             ^
0_0_15436374_29508.cpp:8:13: note: 'int q' previously defined here
 int max1=-1,q=0;
             ^
0_0_15436374_29508.cpp: In function 'void my_next(int, int)':
0_0_15436374_29508.cpp:286:6: error: redefinition of 'void my_next(int, int)'
 void my_next(int x,int y)
      ^
0_0_15436374_29508.cpp:10:6: note: 'void my_next(int, int)' previously defined here
 void my_next(int x,int y)
      ^
0_0_15436374_29508.cpp: In function 'int main(int, char**)':
0_0_15436374_29508.cpp:344:5: error: redefinition of 'int main(int, char**)'
 int main(int argc, char *argv[])
     ^
0_0_15436374_29508.cpp:68:5: note: 'int main(int, char**)' previously defined here
 int main(int argc, char *argv[])
     ^


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-02-17 12:26:20, Gzip enabled