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_7886955_2858.cpp:42: error: redefinition of `int n'
0_0_7886955_2858.cpp:6: error: `int n' previously declared here
0_0_7886955_2858.cpp:42: error: redefinition of `int ans'
0_0_7886955_2858.cpp:6: error: `int ans' previously declared here
0_0_7886955_2858.cpp:43: error: redefinition of `LL k'
0_0_7886955_2858.cpp:7: error: `LL k' previously declared here
0_0_7886955_2858.cpp:44: error: redefinition of `double k1'
0_0_7886955_2858.cpp:8: error: `double k1' previously declared here
0_0_7886955_2858.cpp:44: error: redefinition of `double k2'
0_0_7886955_2858.cpp:8: error: `double k2' previously declared here
0_0_7886955_2858.cpp:44: error: redefinition of `double sum'
0_0_7886955_2858.cpp:8: error: `double sum' previously declared here
0_0_7886955_2858.cpp:44: error: redefinition of `double t'
0_0_7886955_2858.cpp:8: error: `double t' previously declared here
0_0_7886955_2858.cpp:44: error: redefinition of `double kk'
0_0_7886955_2858.cpp:8: error: `double kk' previously declared here
0_0_7886955_2858.cpp: In function `int main()':
0_0_7886955_2858.cpp:47: error: redefinition of `int main()'
0_0_7886955_2858.cpp:11: error: `int main()' previously defined here


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-03 00:57:17, Gzip enabled