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_26052913_2229.cpp:41:5: error: redefinition of 'int n'
 int n; double a[N],f[N];
     ^
0_0_26052913_2229.cpp:10:5: note: 'int n' previously declared here
 int n; double a[N],f[N];
     ^
0_0_26052913_2229.cpp:41:18: error: redefinition of 'double a [30]'
 int n; double a[N],f[N];
                  ^
0_0_26052913_2229.cpp:10:15: note: 'double a [30]' previously declared here
 int n; double a[N],f[N];
               ^
0_0_26052913_2229.cpp:41:23: error: redefinition of 'double f [30]'
 int n; double a[N],f[N];
                       ^
0_0_26052913_2229.cpp:10:20: note: 'double f [30]' previously declared here
 int n; double a[N],f[N];
                    ^
0_0_26052913_2229.cpp: In function 'int main()':
0_0_26052913_2229.cpp:43:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_26052913_2229.cpp:12: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 10:57:25, Gzip enabled