0_0_22837741_20733.cpp:161:11: error: redefinition of 'const int maxn'
const int maxn = 100005;
^
0_0_22837741_20733.cpp:21:11: note: 'const int maxn' previously defined here
const int maxn = 100005;
^
0_0_22837741_20733.cpp:162:12: error: redefinition of 'int rk [100005]'
int rk[maxn],sa[maxn],height[maxn],w[maxn],cnt[maxn],res[maxn];
^
0_0_22837741_20733.cpp:22:5: note: 'int rk [100005]' previously declared here
int rk[maxn],sa[maxn],height[maxn],w[maxn],cnt[maxn],res[maxn];
^
0_0_22837741_20733.cpp:162:21: error: redefinition of 'int sa [100005]'
int rk[maxn],sa[maxn],height[maxn],w[maxn],cnt[maxn],res[maxn];
^
0_0_22837741_20733.cpp:22:14: note: 'int sa [100005]' previously declared here
int rk[maxn],sa[maxn],height[maxn],w[maxn],cnt[maxn],res[maxn];
^
0_0_22837741_20733.cpp:162:34: error: redefinition of 'int height [100005]'
int rk[maxn],sa[maxn],height[maxn],w[maxn],cnt[maxn],res[maxn];
^
0_0_22837741_20733.cpp:22:23: note: 'int height [100005]' previously declared here
int rk[maxn],sa[maxn],height[maxn],w[maxn],cnt[maxn],res[maxn];
^
0_0_22837741_20733.cpp:162:42: error: redefinition of 'int w [100005]'
int rk[maxn],sa[maxn],height[maxn],w[maxn],cnt[maxn],res[maxn];
^
0_0_22837741_20733.cpp:22:36: note: 'int w [100005]' previously declared here
int rk[maxn],sa[maxn],height[maxn],w[maxn],cnt[maxn],res[maxn];
^
0_0_22837741_20733.cpp:162:52: error: redefinition of 'int cnt [100005]'
int rk[maxn],sa[maxn],height[maxn],w[maxn],cnt[maxn],res[maxn];
^
0_0_22837741_20733.cpp:22:44: note: 'int cnt [100005]' previously declared here
int rk[maxn],sa[maxn],height[maxn],w[maxn],cnt[maxn],res[maxn];
^
0_0_22837741_20733.cpp:162:62: error: redefinition of 'int res [100005]'
int rk[maxn],sa[maxn],height[maxn],w[maxn],cnt[maxn],res[maxn];
^
0_0_22837741_20733.cpp:22:54: note: 'int res [100005]' previously declared here
int rk[maxn],sa[maxn],height[maxn],w[maxn],cnt[maxn],res[maxn];
^
0_0_22837741_20733.cpp:163:5: error: redefinition of 'int n'
int n;
^
0_0_22837741_20733.cpp:23:5: note: 'int n' previously declared here
int n;
^
0_0_22837741_20733.cpp: In function 'void getSa(int)':
0_0_22837741_20733.cpp:167:6: error: redefinition of 'void getSa(int)'
void getSa (int up)
^
0_0_22837741_20733.cpp:27:6: note: 'void getSa(int)' previously defined here
void getSa (int up)
^
0_0_22837741_20733.cpp: In function 'void getHeight()':
0_0_22837741_20733.cpp:198:6: error: redefinition of 'void getHeight()'
void getHeight()
^
0_0_22837741_20733.cpp:58:6: note: 'void getHeight()' previously defined here
void getHeight()
^
0_0_22837741_20733.cpp: In function 'void getSuffix(char*)':
0_0_22837741_20733.cpp:212:6: error: redefinition of 'void getSuffix(char*)'
void getSuffix(char s[])
^
0_0_22837741_20733.cpp:72:6: note: 'void getSuffix(char*)' previously defined here
void getSuffix(char s[])
^
0_0_22837741_20733.cpp: At global scope:
0_0_22837741_20733.cpp:225:15: error: redefinition of 'int r [100005][20]'
int r[maxn][20];
^
0_0_22837741_20733.cpp:85:5: note: 'int r [100005][20]' previously declared here
int r[maxn][20];
^
0_0_22837741_20733.cpp: In function 'int rmq(int, int)':
0_0_22837741_20733.cpp:227:5: error: redefinition of 'int rmq(int, int)'
int rmq(int L,int R)
^
0_0_22837741_20733.cpp:87:5: note: 'int rmq(int, int)' previously defined here
int rmq(int L,int R)
^
0_0_22837741_20733.cpp: At global scope:
0_0_22837741_20733.cpp:235:12: error: redefinition of 'char s [100005]'
char s[maxn];
^
0_0_22837741_20733.cpp:95:6: note: 'char s [100005]' previously declared here
char s[maxn];
^
0_0_22837741_20733.cpp: In function 'int work(int)':
0_0_22837741_20733.cpp:237:5: error: redefinition of 'int work(int)'
int work(int k)
^
0_0_22837741_20733.cpp:97:5: note: 'int work(int)' previously defined here
int work(int k)
^
0_0_22837741_20733.cpp: In function 'void init()':
0_0_22837741_20733.cpp:260:6: error: redefinition of 'void init()'
void init()
^
0_0_22837741_20733.cpp:120:6: note: 'void init()' previously defined here
void init()
^
0_0_22837741_20733.cpp: In function 'int main()':
0_0_22837741_20733.cpp:266:5: error: redefinition of 'int main()'
int main()
^
0_0_22837741_20733.cpp:126:5: note: 'int main()' previously defined here
int main()
^
|