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_31412093_14020.cpp:55:13: error: redefinition of 'int cheap [20]'
 int cheap[20];
             ^
0_0_31412093_14020.cpp:4:5: note: 'int cheap [20]' previously declared here
 int cheap[20];
     ^
0_0_31412093_14020.cpp:56:5: error: redefinition of 'int count'
 int count;
     ^
0_0_31412093_14020.cpp:5:5: note: 'int count' previously declared here
 int count;
     ^
0_0_31412093_14020.cpp: In function 'int find(int, int)':
0_0_31412093_14020.cpp:58:5: error: redefinition of 'int find(int, int)'
 int find(int h, int l)
     ^
0_0_31412093_14020.cpp:7:5: note: 'int find(int, int)' previously defined here
 int find(int h, int l)
     ^
0_0_31412093_14020.cpp: In function 'void place(int, int)':
0_0_31412093_14020.cpp:71:6: error: redefinition of 'void place(int, int)'
 void place(int h,int n)
      ^
0_0_31412093_14020.cpp:20:6: note: 'void place(int, int)' previously defined here
 void place(int h,int n)
      ^
0_0_31412093_14020.cpp: In function 'int main()':
0_0_31412093_14020.cpp:88:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_31412093_14020.cpp:37: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-09-29 02:11:17, Gzip enabled