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_21566837_23638.cpp:69:11: error: redefinition of 'const int maxn'
 const int maxn = 250000;
           ^
0_0_21566837_23638.cpp:15:11: note: 'const int maxn' previously defined here
 const int maxn = 250000;
           ^
0_0_21566837_23638.cpp:70:14: error: redefinition of 'int a [250010]'
 int a[maxn+10],b[maxn+10];
              ^
0_0_21566837_23638.cpp:16:5: note: 'int a [250010]' previously declared here
 int a[maxn+10],b[maxn+10];
     ^
0_0_21566837_23638.cpp:70:25: error: redefinition of 'int b [250010]'
 int a[maxn+10],b[maxn+10];
                         ^
0_0_21566837_23638.cpp:16:16: note: 'int b [250010]' previously declared here
 int a[maxn+10],b[maxn+10];
                ^
0_0_21566837_23638.cpp:71:17: error: redefinition of 'int dq [500010]'
 int dq[2*maxn+10];
                 ^
0_0_21566837_23638.cpp:17:5: note: 'int dq [500010]' previously declared here
 int dq[2*maxn+10];
     ^
0_0_21566837_23638.cpp:72:11: error: redefinition of 'const int mod'
 const int mod = 1e9+7;
           ^
0_0_21566837_23638.cpp:18:11: note: 'const int mod' previously defined here
 const int mod = 1e9+7;
           ^
0_0_21566837_23638.cpp: In function 'int main()':
0_0_21566837_23638.cpp:74:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_21566837_23638.cpp:20:5: note: 'int main()' previously defined here
 int main()
     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-28 08:51:27, Gzip enabled