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_22871147_31122.cpp:135:11: error: redefinition of 'const int N'
 const int N=310,INF=0x3f3f3f3f;
           ^
0_0_22871147_31122.cpp:4:11: note: 'const int N' previously defined here
 const int N=310,INF=0x3f3f3f3f;
           ^
0_0_22871147_31122.cpp:135:17: error: redefinition of 'const int INF'
 const int N=310,INF=0x3f3f3f3f;
                 ^
0_0_22871147_31122.cpp:4:17: note: 'const int INF' previously defined here
 const int N=310,INF=0x3f3f3f3f;
                 ^
0_0_22871147_31122.cpp:136:5: error: redefinition of 'int n'
 int n,m,a[N][N],b[N][N];
     ^
0_0_22871147_31122.cpp:5:5: note: 'int n' previously declared here
 int n,m,a[N][N],b[N][N];
     ^
0_0_22871147_31122.cpp:136:7: error: redefinition of 'int m'
 int n,m,a[N][N],b[N][N];
       ^
0_0_22871147_31122.cpp:5:7: note: 'int m' previously declared here
 int n,m,a[N][N],b[N][N];
       ^
0_0_22871147_31122.cpp:136:15: error: redefinition of 'int a [310][310]'
 int n,m,a[N][N],b[N][N];
               ^
0_0_22871147_31122.cpp:5:9: note: 'int a [310][310]' previously declared here
 int n,m,a[N][N],b[N][N];
         ^
0_0_22871147_31122.cpp:136:23: error: redefinition of 'int b [310][310]'
 int n,m,a[N][N],b[N][N];
                       ^
0_0_22871147_31122.cpp:5:17: note: 'int b [310][310]' previously declared here
 int n,m,a[N][N],b[N][N];
                 ^
0_0_22871147_31122.cpp:137:11: error: redefinition of 'int s [620]'
 int s[N<<1],p[N][N<<1];
           ^
0_0_22871147_31122.cpp:6:5: note: 'int s [620]' previously declared here
 int s[N<<1],p[N][N<<1];
     ^
0_0_22871147_31122.cpp:137:22: error: redefinition of 'int p [310][620]'
 int s[N<<1],p[N][N<<1];
                      ^
0_0_22871147_31122.cpp:6:13: note: 'int p [310][620]' previously declared here
 int s[N<<1],p[N][N<<1];
             ^
0_0_22871147_31122.cpp: In function 'void manacher(int*, int*, int)':
0_0_22871147_31122.cpp:138:6: error: redefinition of 'void manacher(int*, int*, int)'
 void manacher(int *a,int *p,int n)
      ^
0_0_22871147_31122.cpp:7:6: note: 'void manacher(int*, int*, int)' previously defined here
 void manacher(int *a,int *p,int n)
      ^
0_0_22871147_31122.cpp: At global scope:
0_0_22871147_31122.cpp:165:8: error: redefinition of 'struct SparseTable'
 struct SparseTable
        ^
0_0_22871147_31122.cpp:34:8: error: previous definition of 'struct SparseTable'
 struct SparseTable
        ^
0_0_22871147_31122.cpp:180:12: error: invalid type in declaration before ',' token
 } hor[N<<1],ver[N<<1];
            ^
0_0_22871147_31122.cpp:180:12: error: conflicting declaration 'int hor [620]'
0_0_22871147_31122.cpp:49:3: note: previous declaration as 'SparseTable hor [620]'
 } hor[N<<1],ver[N<<1];
   ^
0_0_22871147_31122.cpp:180:21: error: conflicting declaration 'int ver [620]'
 } hor[N<<1],ver[N<<1];
                     ^
0_0_22871147_31122.cpp:49:13: note: previous declaration as 'SparseTable ver [620]'
 } hor[N<<1],ver[N<<1];
             ^
0_0_22871147_31122.cpp: In function 'bool check(int)':
0_0_22871147_31122.cpp:183:6: error: redefinition of 'bool check(int)'
 bool check(int x)
      ^
0_0_22871147_31122.cpp:52:6: note: 'bool check(int)' previously defined here
 bool check(int x)
      ^
0_0_22871147_31122.cpp: In function 'int main()':
0_0_22871147_31122.cpp:200:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_22871147_31122.cpp:69: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 04:37:00, Gzip enabled