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_20412633_8314.cpp:72:5: error: redefinition of 'int n'
 int n,m;
     ^
0_0_20412633_8314.cpp:9:4: note: 'LL n' previously declared here
 LL n,m;
    ^
0_0_20412633_8314.cpp:72:7: error: redefinition of 'int m'
 int n,m;
       ^
0_0_20412633_8314.cpp:9:6: note: 'LL m' previously declared here
 LL n,m;
      ^
0_0_20412633_8314.cpp:73:13: error: conflicting declaration 'int pre [2100]'
 int pre[2100];
             ^
0_0_20412633_8314.cpp:8:4: note: previous declaration as 'LL pre [2010]'
 LL pre[maxn],rank1[maxn];
    ^
0_0_20412633_8314.cpp:74:15: error: conflicting declaration 'int rank1 [2100]'
 int rank1[2100];
               ^
0_0_20412633_8314.cpp:8:14: note: previous declaration as 'LL rank1 [2010]'
 LL pre[maxn],rank1[maxn];
              ^
0_0_20412633_8314.cpp: In function 'void init()':
0_0_20412633_8314.cpp:75:6: error: redefinition of 'void init()'
 void init()
      ^
0_0_20412633_8314.cpp:10:6: note: 'void init()' previously defined here
 void init()
      ^
0_0_20412633_8314.cpp: In function 'int Find(int)':
0_0_20412633_8314.cpp:83:5: error: redefinition of 'int Find(int)'
 int Find(int x)
     ^
0_0_20412633_8314.cpp:15:4: note: 'LL Find(LL)' previously defined here
 LL Find(LL x)
    ^
0_0_20412633_8314.cpp: In function 'int main()':
0_0_20412633_8314.cpp:92:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_20412633_8314.cpp:25: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-26 21:38:16, Gzip enabled