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_33964972_11612.cpp:49:11: error: redefinition of 'const int maxn'
 const int maxn=1e5+50;
           ^
0_0_33964972_11612.cpp:10:11: note: 'const int maxn' previously defined here
 const int maxn=1e5+50;
           ^
0_0_33964972_11612.cpp:50:11: error: redefinition of 'const int mod'
 const int mod=86400;
           ^
0_0_33964972_11612.cpp:11:11: note: 'const int mod' previously defined here
 const int mod=86400;
           ^
0_0_33964972_11612.cpp:51:8: error: redefinition of 'double n'
 double n,tot;
        ^
0_0_33964972_11612.cpp:12:8: note: 'double n' previously declared here
 double n,tot;
        ^
0_0_33964972_11612.cpp:51:10: error: redefinition of 'double tot'
 double n,tot;
          ^
0_0_33964972_11612.cpp:12:10: note: 'double tot' previously declared here
 double n,tot;
          ^
0_0_33964972_11612.cpp: In function 'double deal(double)':
0_0_33964972_11612.cpp:53:8: error: redefinition of 'double deal(double)'
 double deal(double k)
        ^
0_0_33964972_11612.cpp:14:8: note: 'double deal(double)' previously defined here
 double deal(double k)
        ^
0_0_33964972_11612.cpp: In function 'int main()':
0_0_33964972_11612.cpp:68:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_33964972_11612.cpp:29: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-01-08 12:02:39, Gzip enabled