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_25149023_18597.cpp:85:11: error: redefinition of 'const int inf'
 const int inf = 0x3f3f3f3f;
           ^
0_0_25149023_18597.cpp:10:11: note: 'const int inf' previously defined here
 const int inf = 0x3f3f3f3f;
           ^
0_0_25149023_18597.cpp:86:11: error: redefinition of 'const int maxn'
 const int maxn = 1e5 + 10;
           ^
0_0_25149023_18597.cpp:11:11: note: 'const int maxn' previously defined here
 const int maxn = 1e5 + 10;
           ^
0_0_25149023_18597.cpp:87:14: error: redefinition of 'const double eps'
 const double eps = 1e-8;
              ^
0_0_25149023_18597.cpp:12:14: note: 'const double eps' previously defined here
 const double eps = 1e-8;
              ^
0_0_25149023_18597.cpp:88:5: error: redefinition of 'int n'
 int n;
     ^
0_0_25149023_18597.cpp:13:5: note: 'int n' previously declared here
 int n;
     ^
0_0_25149023_18597.cpp:89:15: error: redefinition of 'int value [100010]'
 int value[maxn];
               ^
0_0_25149023_18597.cpp:14:5: note: 'int value [100010]' previously declared here
 int value[maxn];
     ^
0_0_25149023_18597.cpp: In function 'int main()':
0_0_25149023_18597.cpp:90:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_25149023_18597.cpp:46: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-26 17:08:29, Gzip enabled