Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_728_1203_31928.cpp:37:9: error: redefinition of 'int a [25]'
 int a[25] = {0,0,0,0,1,1,2,3,3,4,5,6,7,7,8,9,10,11,12,13,14};
         ^
1_728_1203_31928.cpp:5:5: note: 'int a [25]' previously defined here
 int a[25] = {0,0,0,0,1,1,2,3,3,4,5,6,7,7,8,9,10,11,12,13,14};
     ^
1_728_1203_31928.cpp: In function 'int main()':
1_728_1203_31928.cpp:38:5: error: redefinition of 'int main()'
 int main()
     ^
1_728_1203_31928.cpp:6: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-11-27 01:18:26, Gzip enabled