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_26958091_32084.cpp:120:14: error: redefinition of 'const double PI'
 const double PI=acos(-1.0);
              ^
0_0_26958091_32084.cpp:3:14: note: 'const double PI' previously defined here
 const double PI=acos(-1.0);
              ^
0_0_26958091_32084.cpp:121:22: error: redefinition of 'const int MAXN'
     static const int MAXN=5e5+10;
                      ^
0_0_26958091_32084.cpp:4:22: note: 'const int MAXN' previously defined here
     static const int MAXN=5e5+10;
                      ^
0_0_26958091_32084.cpp:122:12: error: redefinition of 'struct Complex'
     struct Complex
            ^
0_0_26958091_32084.cpp:5:12: error: previous definition of 'struct Complex'
     struct Complex
            ^
0_0_26958091_32084.cpp:142:14: error: invalid type in declaration before ',' token
     } a[MAXN],b[MAXN];
              ^
0_0_26958091_32084.cpp:142:14: error: conflicting declaration 'int a [500010]'
0_0_26958091_32084.cpp:25:7: note: previous declaration as 'Complex a [500010]'
     } a[MAXN],b[MAXN];
       ^
0_0_26958091_32084.cpp:142:21: error: conflicting declaration 'int b [500010]'
     } a[MAXN],b[MAXN];
                     ^
0_0_26958091_32084.cpp:25:15: note: previous declaration as 'Complex b [500010]'
     } a[MAXN],b[MAXN];
               ^
0_0_26958091_32084.cpp:143:9: error: redefinition of 'int n'
     int n,m,rev[MAXN],limit,bit;
         ^
0_0_26958091_32084.cpp:26:9: note: 'int n' previously declared here
     int n,m,rev[MAXN],limit,bit;
         ^
0_0_26958091_32084.cpp:143:11: error: redefinition of 'int m'
     int n,m,rev[MAXN],limit,bit;
           ^
0_0_26958091_32084.cpp:26:11: note: 'int m' previously declared here
     int n,m,rev[MAXN],limit,bit;
           ^
0_0_26958091_32084.cpp:143:21: error: redefinition of 'int rev [500010]'
     int n,m,rev[MAXN],limit,bit;
                     ^
0_0_26958091_32084.cpp:26:13: note: 'int rev [500010]' previously declared here
     int n,m,rev[MAXN],limit,bit;
             ^
0_0_26958091_32084.cpp:143:23: error: redefinition of 'int limit'
     int n,m,rev[MAXN],limit,bit;
                       ^
0_0_26958091_32084.cpp:26:23: note: 'int limit' previously declared here
     int n,m,rev[MAXN],limit,bit;
                       ^
0_0_26958091_32084.cpp:143:29: error: redefinition of 'int bit'
     int n,m,rev[MAXN],limit,bit;
                             ^
0_0_26958091_32084.cpp:26:29: note: 'int bit' previously declared here
     int n,m,rev[MAXN],limit,bit;
                             ^
0_0_26958091_32084.cpp:144:23: error: redefinition of 'long long int d [500005]'
     long long d[500005],c[100005],sum[500005];
                       ^
0_0_26958091_32084.cpp:27:15: note: 'long long int d [500005]' previously declared here
     long long d[500005],c[100005],sum[500005];
               ^
0_0_26958091_32084.cpp:144:33: error: redefinition of 'long long int c [100005]'
     long long d[500005],c[100005],sum[500005];
                                 ^
0_0_26958091_32084.cpp:27:25: note: 'long long int c [100005]' previously declared here
     long long d[500005],c[100005],sum[500005];
                         ^
0_0_26958091_32084.cpp:144:45: error: redefinition of 'long long int sum [500005]'
     long long d[500005],c[100005],sum[500005];
                                             ^
0_0_26958091_32084.cpp:27:35: note: 'long long int sum [500005]' previously declared here
     long long d[500005],c[100005],sum[500005];
                                   ^
0_0_26958091_32084.cpp: In function 'void fft(Complex*, int)':
0_0_26958091_32084.cpp:145:10: error: redefinition of 'void fft(Complex*, int)'
     void fft(Complex *arr,int type)
          ^
0_0_26958091_32084.cpp:28:10: note: 'void fft(Complex*, int)' previously defined here
     void fft(Complex *arr,int type)
          ^
0_0_26958091_32084.cpp: In function 'void init()':
0_0_26958091_32084.cpp:169:10: error: redefinition of 'void init()'
     void init()
          ^
0_0_26958091_32084.cpp:52:10: note: 'void init()' previously defined here
     void init()
          ^
0_0_26958091_32084.cpp: In function 'int main()':
0_0_26958091_32084.cpp:222:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_26958091_32084.cpp:105: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 11:12:34, Gzip enabled