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_31235536_8660.cpp:152:11: error: redefinition of 'const int MAXN'
 const int MAXN = 805000;
           ^
0_0_31235536_8660.cpp:12:11: note: 'const int MAXN' previously defined here
 const int MAXN = 80500;
           ^
0_0_31235536_8660.cpp:153:12: error: redefinition of 'int wa [80500]'
 int wa[MAXN], wb[MAXN], wv[MAXN], Ws[MAXN];
            ^
0_0_31235536_8660.cpp:13:5: note: 'int wa [80500]' previously declared here
 int wa[MAXN], wb[MAXN], wv[MAXN], Ws[MAXN];
     ^
0_0_31235536_8660.cpp:153:22: error: redefinition of 'int wb [80500]'
 int wa[MAXN], wb[MAXN], wv[MAXN], Ws[MAXN];
                      ^
0_0_31235536_8660.cpp:13:15: note: 'int wb [80500]' previously declared here
 int wa[MAXN], wb[MAXN], wv[MAXN], Ws[MAXN];
               ^
0_0_31235536_8660.cpp:153:32: error: redefinition of 'int wv [80500]'
 int wa[MAXN], wb[MAXN], wv[MAXN], Ws[MAXN];
                                ^
0_0_31235536_8660.cpp:13:25: note: 'int wv [80500]' previously declared here
 int wa[MAXN], wb[MAXN], wv[MAXN], Ws[MAXN];
                         ^
0_0_31235536_8660.cpp:153:42: error: redefinition of 'int Ws [80500]'
 int wa[MAXN], wb[MAXN], wv[MAXN], Ws[MAXN];
                                          ^
0_0_31235536_8660.cpp:13:35: note: 'int Ws [80500]' previously declared here
 int wa[MAXN], wb[MAXN], wv[MAXN], Ws[MAXN];
                                   ^
0_0_31235536_8660.cpp:154:12: error: redefinition of 'int sa [80500]'
 int sa[MAXN], height[MAXN], Rank[MAXN];
            ^
0_0_31235536_8660.cpp:14:5: note: 'int sa [80500]' previously declared here
 int sa[MAXN], height[MAXN], Rank[MAXN];
     ^
0_0_31235536_8660.cpp:154:26: error: redefinition of 'int height [80500]'
 int sa[MAXN], height[MAXN], Rank[MAXN];
                          ^
0_0_31235536_8660.cpp:14:15: note: 'int height [80500]' previously declared here
 int sa[MAXN], height[MAXN], Rank[MAXN];
               ^
0_0_31235536_8660.cpp:154:38: error: redefinition of 'int Rank [80500]'
 int sa[MAXN], height[MAXN], Rank[MAXN];
                                      ^
0_0_31235536_8660.cpp:14:29: note: 'int Rank [80500]' previously declared here
 int sa[MAXN], height[MAXN], Rank[MAXN];
                             ^
0_0_31235536_8660.cpp: In function 'void BuildSA(const int*, int*, int, int)':
0_0_31235536_8660.cpp:156:6: error: redefinition of 'void BuildSA(const int*, int*, int, int)'
 void BuildSA(const int* s, int* sa, int n, int m) {
      ^
0_0_31235536_8660.cpp:16:6: note: 'void BuildSA(const int*, int*, int, int)' previously defined here
 void BuildSA(const int* s, int* sa, int n, int m) {
      ^
0_0_31235536_8660.cpp: In function 'void BuildHeight(int*, int, int*, int*)':
0_0_31235536_8660.cpp:183:6: error: redefinition of 'void BuildHeight(int*, int, int*, int*)'
 void BuildHeight(int *str, int n, int *sa, int *Rank) {
      ^
0_0_31235536_8660.cpp:43:6: note: 'void BuildHeight(int*, int, int*, int*)' previously defined here
 void BuildHeight(int *str, int n, int *sa, int *Rank) {
      ^
0_0_31235536_8660.cpp: In function 'int main()':
0_0_31235536_8660.cpp:193:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_31235536_8660.cpp:53: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-29 21:04:28, Gzip enabled