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_14007600_17408.cpp:48:13: error: redefinition of 'int h [100005]'
 int h[100005],h1[100005];
             ^
0_0_14007600_17408.cpp:3:5: note: 'int h [100005]' previously declared here
 int h[100005],h1[100005];
     ^
0_0_14007600_17408.cpp:48:24: error: redefinition of 'int h1 [100005]'
 int h[100005],h1[100005];
                        ^
0_0_14007600_17408.cpp:3:15: note: 'int h1 [100005]' previously declared here
 int h[100005],h1[100005];
               ^
0_0_14007600_17408.cpp:49:13: error: redefinition of 'int q [100005]'
 int q[100005],q1[100005];
             ^
0_0_14007600_17408.cpp:4:5: note: 'int q [100005]' previously declared here
 int q[100005],q1[100005];
     ^
0_0_14007600_17408.cpp:49:24: error: redefinition of 'int q1 [100005]'
 int q[100005],q1[100005];
                        ^
0_0_14007600_17408.cpp:4:15: note: 'int q1 [100005]' previously declared here
 int q[100005],q1[100005];
               ^
0_0_14007600_17408.cpp:50:15: error: redefinition of 'int res [100005]'
 int res[100005];
               ^
0_0_14007600_17408.cpp:5:5: note: 'int res [100005]' previously declared here
 int res[100005];
     ^
0_0_14007600_17408.cpp: In function 'bool cmp1(int, int)':
0_0_14007600_17408.cpp:51:6: error: redefinition of 'bool cmp1(int, int)'
 bool cmp1(int x,int y)
      ^
0_0_14007600_17408.cpp:6:6: note: 'bool cmp1(int, int)' previously defined here
 bool cmp1(int x,int y)
      ^
0_0_14007600_17408.cpp: In function 'bool cmp2(int, int)':
0_0_14007600_17408.cpp:56:6: error: redefinition of 'bool cmp2(int, int)'
 bool cmp2(int x,int y)
      ^
0_0_14007600_17408.cpp:11:6: note: 'bool cmp2(int, int)' previously defined here
 bool cmp2(int x,int y)
      ^
0_0_14007600_17408.cpp: In function 'int main()':
0_0_14007600_17408.cpp:61:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_14007600_17408.cpp:16: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-02 14:58:14, Gzip enabled