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_8124717_12331.cpp:44: error: redefinition of `int sum'
0_0_8124717_12331.cpp:3: error: `int sum' previously declared here
0_0_8124717_12331.cpp:45: error: redefinition of `int f[100001]'
0_0_8124717_12331.cpp:4: error: `int f[100001]' previously declared here
0_0_8124717_12331.cpp:46: error: redefinition of `int cost[101]'
0_0_8124717_12331.cpp:5: error: `int cost[101]' previously declared here
0_0_8124717_12331.cpp:47: error: redefinition of `int value[101]'
0_0_8124717_12331.cpp:6: error: `int value[101]' previously declared here
0_0_8124717_12331.cpp: In function `int max(int, int)':
0_0_8124717_12331.cpp:49: error: redefinition of `int max(int, int)'
0_0_8124717_12331.cpp:8: error: `int max(int, int)' previously defined here
0_0_8124717_12331.cpp: In function `void zeroonepack(int, int)':
0_0_8124717_12331.cpp:54: error: redefinition of `void zeroonepack(int, int)'
0_0_8124717_12331.cpp:13: error: `void zeroonepack(int, int)' previously defined here
0_0_8124717_12331.cpp: In function `int main()':
0_0_8124717_12331.cpp:62: error: redefinition of `int main()'
0_0_8124717_12331.cpp:21: error: `int main()' previously defined here


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-02 13:11:47, Gzip enabled