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_25799339_21442.cpp:39:12: error: redefinition of 'char a [1005]'
 char a[1005];
            ^
0_0_25799339_21442.cpp:4:6: note: 'char a [1005]' previously declared here
 char a[1005];
      ^
0_0_25799339_21442.cpp:40:12: error: redefinition of 'char b [1005]'
 char b[1005];
            ^
0_0_25799339_21442.cpp:5:6: note: 'char b [1005]' previously declared here
 char b[1005];
      ^
0_0_25799339_21442.cpp:41:13: error: redefinition of 'int sum [1005]'
 int sum[1005];
             ^
0_0_25799339_21442.cpp:6:5: note: 'int sum [1005]' previously declared here
 int sum[1005];
     ^
0_0_25799339_21442.cpp: In function 'int main()':
0_0_25799339_21442.cpp:44:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_25799339_21442.cpp:9: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-12-05 00:19:32, Gzip enabled