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_25998872_32759.cpp:40:5: error: redefinition of 'int n'
 int n, m, _;
     ^
0_0_25998872_32759.cpp:5:5: note: 'int n' previously declared here
 int n, m, _;
     ^
0_0_25998872_32759.cpp:40:8: error: redefinition of 'int m'
 int n, m, _;
        ^
0_0_25998872_32759.cpp:5:8: note: 'int m' previously declared here
 int n, m, _;
        ^
0_0_25998872_32759.cpp:40:11: error: redefinition of 'int _'
 int n, m, _;
           ^
0_0_25998872_32759.cpp:5:11: note: 'int _' previously declared here
 int n, m, _;
           ^
0_0_25998872_32759.cpp:41:8: error: redefinition of 'int a [4]'
 int a[4], b[4];
        ^
0_0_25998872_32759.cpp:6:5: note: 'int a [4]' previously declared here
 int a[4], b[4];
     ^
0_0_25998872_32759.cpp:41:14: error: redefinition of 'int b [4]'
 int a[4], b[4];
              ^
0_0_25998872_32759.cpp:6:11: note: 'int b [4]' previously declared here
 int a[4], b[4];
           ^
0_0_25998872_32759.cpp: In function 'int main()':
0_0_25998872_32759.cpp:43:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_25998872_32759.cpp:8: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-17 07:43:18, Gzip enabled