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_37831947_22454.cpp:82:11: error: redefinition of 'const int N'
 const int N = 1e5 + 10;
           ^
0_0_37831947_22454.cpp:5:11: note: 'const int N' previously defined here
 const int N = 1e5 + 10;
           ^
0_0_37831947_22454.cpp:83:8: error: redefinition of 'int p [100010]'
 int p[N];
        ^
0_0_37831947_22454.cpp:6:5: note: 'int p [100010]' previously declared here
 int p[N];
     ^
0_0_37831947_22454.cpp: In function 'int find(int)':
0_0_37831947_22454.cpp:84:5: error: redefinition of 'int find(int)'
 int find(int x)
     ^
0_0_37831947_22454.cpp:7:5: note: 'int find(int)' previously defined here
 int find(int x)
     ^
0_0_37831947_22454.cpp: At global scope:
0_0_37831947_22454.cpp:92:10: error: redefinition of 'int stu [100010]'
 int stu[N];
          ^
0_0_37831947_22454.cpp:15:5: note: 'int stu [100010]' previously declared here
 int stu[N];
     ^
0_0_37831947_22454.cpp: In function 'int main()':
0_0_37831947_22454.cpp:94:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_37831947_22454.cpp:17: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-04 11:27:40, Gzip enabled