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_33487799_29334.cpp: In function 'void read(int&)':
0_0_33487799_29334.cpp:146:13: error: redefinition of 'void read(int&)'
 inline void read(int &x)
             ^
0_0_33487799_29334.cpp:35:13: note: 'void read(int&)' previously defined here
 inline void read(int &x)
             ^
0_0_33487799_29334.cpp: At global scope:
0_0_33487799_29334.cpp:153:5: error: redefinition of 'int n'
 int n,m,i,j;
     ^
0_0_33487799_29334.cpp:43:5: note: 'int n' previously declared here
 int n,m,i,j,fail[15],dlt[15];
     ^
0_0_33487799_29334.cpp:153:7: error: redefinition of 'int m'
 int n,m,i,j;
       ^
0_0_33487799_29334.cpp:43:7: note: 'int m' previously declared here
 int n,m,i,j,fail[15],dlt[15];
       ^
0_0_33487799_29334.cpp:153:9: error: redefinition of 'int i'
 int n,m,i,j;
         ^
0_0_33487799_29334.cpp:43:9: note: 'int i' previously declared here
 int n,m,i,j,fail[15],dlt[15];
         ^
0_0_33487799_29334.cpp:153:11: error: redefinition of 'int j'
 int n,m,i,j;
           ^
0_0_33487799_29334.cpp:43:11: note: 'int j' previously declared here
 int n,m,i,j,fail[15],dlt[15];
           ^
0_0_33487799_29334.cpp: In function 'int main()':
0_0_33487799_29334.cpp:158:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_33487799_29334.cpp:84:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_33487799_29334.cpp:164:2: error: expected unqualified-id before 'return'
  return 0;
  ^


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-09-29 08:21:29, Gzip enabled