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_27066407_30653.cpp:105:11: error: redefinition of 'const int maxn'
 const int maxn = 10010, INF = 0x7fffffff, LL_INF = 0x7fffffffffffffff;
           ^
0_0_27066407_30653.cpp:34:11: note: 'const int maxn' previously defined here
 const int maxn = 10010, INF = 0x7fffffff, LL_INF = 0x7fffffffffffffff;
           ^
0_0_27066407_30653.cpp:105:25: error: redefinition of 'const int INF'
 const int maxn = 10010, INF = 0x7fffffff, LL_INF = 0x7fffffffffffffff;
                         ^
0_0_27066407_30653.cpp:34:25: note: 'const int INF' previously defined here
 const int maxn = 10010, INF = 0x7fffffff, LL_INF = 0x7fffffffffffffff;
                         ^
0_0_27066407_30653.cpp:105:43: error: redefinition of 'const int LL_INF'
 const int maxn = 10010, INF = 0x7fffffff, LL_INF = 0x7fffffffffffffff;
                                           ^
0_0_27066407_30653.cpp:34:43: note: 'const int LL_INF' previously defined here
 const int maxn = 10010, INF = 0x7fffffff, LL_INF = 0x7fffffffffffffff;
                                           ^
0_0_27066407_30653.cpp:106:13: error: redefinition of 'int a [100010]'
 int a[100010];
             ^
0_0_27066407_30653.cpp:35:5: note: 'int a [100010]' previously declared here
 int a[100010];
     ^
0_0_27066407_30653.cpp: In function 'int main()':
0_0_27066407_30653.cpp:107:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_27066407_30653.cpp:36: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-05 00:08:55, Gzip enabled