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_37699220_3788.cpp:49:11: error: redefinition of 'const int maxn'
 const int maxn = 100010;
           ^
0_0_37699220_3788.cpp:5:11: note: 'const int maxn' previously defined here
 const int maxn = 100010;
           ^
0_0_37699220_3788.cpp:50:11: error: redefinition of 'int a [100010]'
 int a[maxn];
           ^
0_0_37699220_3788.cpp:6:5: note: 'int a [100010]' previously declared here
 int a[maxn];
     ^
0_0_37699220_3788.cpp:51:12: error: redefinition of 'int dp [100010]'
 int dp[maxn];
            ^
0_0_37699220_3788.cpp:7:5: note: 'int dp [100010]' previously declared here
 int dp[maxn];
     ^
0_0_37699220_3788.cpp:52:5: error: redefinition of 'int len'
 int len;
     ^
0_0_37699220_3788.cpp:8:5: note: 'int len' previously declared here
 int len;
     ^
0_0_37699220_3788.cpp:53:5: error: redefinition of 'int t'
 int t;
     ^
0_0_37699220_3788.cpp:9:5: note: 'int t' previously declared here
 int t;
     ^
0_0_37699220_3788.cpp:54:5: error: redefinition of 'int n'
 int n;
     ^
0_0_37699220_3788.cpp:10:5: note: 'int n' previously declared here
 int n;
     ^
0_0_37699220_3788.cpp: In function 'int main()':
0_0_37699220_3788.cpp:55:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_37699220_3788.cpp:11: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-27 03:36:34, Gzip enabled