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_6728756_2125.cpp:127: error: redefinition of `const int inf'
0_0_6728756_2125.cpp:44: error: `const int inf' previously defined here
0_0_6728756_2125.cpp:131: error: redefinition of `int chosen[15]'
0_0_6728756_2125.cpp:51: error: `int chosen[15]' previously declared here
0_0_6728756_2125.cpp:131: error: redefinition of `int gain[15]'
0_0_6728756_2125.cpp:52: error: `int gain[15]' previously declared here
0_0_6728756_2125.cpp:131: error: redefinition of `int paid[15]'
0_0_6728756_2125.cpp:52: error: `int paid[15]' previously declared here
0_0_6728756_2125.cpp:132: error: redefinition of `int n'
0_0_6728756_2125.cpp:49: error: `int n' previously declared here
0_0_6728756_2125.cpp:132: error: redefinition of `int m'
0_0_6728756_2125.cpp:49: error: `int m' previously declared here
0_0_6728756_2125.cpp:132: error: redefinition of `int h'
0_0_6728756_2125.cpp:49: error: `int h' previously declared here
0_0_6728756_2125.cpp: In function `int main()':
0_0_6728756_2125.cpp:135: error: redefinition of `int main()'
0_0_6728756_2125.cpp:59: 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-11-30 01:10:10, Gzip enabled