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_37690811_31278.cpp:67:11: error: redefinition of 'const int N'
 const int N = 3000;
           ^
0_0_37690811_31278.cpp:9:11: note: 'const int N' previously defined here
 const int N = 1e4 + 3;
           ^
0_0_37690811_31278.cpp:69:8: error: redefinition of 'int p [10003]'
 int p[N], xing[N];
        ^
0_0_37690811_31278.cpp:10:5: note: 'int p [10003]' previously declared here
 int p[N], st[N];
     ^
0_0_37690811_31278.cpp: In function 'int find(int)':
0_0_37690811_31278.cpp:71:5: error: redefinition of 'int find(int)'
 int find(int x)
     ^
0_0_37690811_31278.cpp:11:5: note: 'int find(int)' previously defined here
 int find(int x)
     ^
0_0_37690811_31278.cpp: In function 'int main()':
0_0_37690811_31278.cpp:82:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_37690811_31278.cpp:21: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 10:22:24, Gzip enabled