0_0_33899252_21219.cpp:1:8: error: 'maxn' was not declared in this scope
int sa[maxn],rk[maxn], height[maxn], h[maxn], y[maxn], x[maxn], c[maxn];
^
0_0_33899252_21219.cpp:1:17: error: 'maxn' was not declared in this scope
int sa[maxn],rk[maxn], height[maxn], h[maxn], y[maxn], x[maxn], c[maxn];
^
0_0_33899252_21219.cpp:1:31: error: 'maxn' was not declared in this scope
int sa[maxn],rk[maxn], height[maxn], h[maxn], y[maxn], x[maxn], c[maxn];
^
0_0_33899252_21219.cpp:1:40: error: 'maxn' was not declared in this scope
int sa[maxn],rk[maxn], height[maxn], h[maxn], y[maxn], x[maxn], c[maxn];
^
0_0_33899252_21219.cpp:1:49: error: 'maxn' was not declared in this scope
int sa[maxn],rk[maxn], height[maxn], h[maxn], y[maxn], x[maxn], c[maxn];
^
0_0_33899252_21219.cpp:1:58: error: 'maxn' was not declared in this scope
int sa[maxn],rk[maxn], height[maxn], h[maxn], y[maxn], x[maxn], c[maxn];
^
0_0_33899252_21219.cpp:1:67: error: 'maxn' was not declared in this scope
int sa[maxn],rk[maxn], height[maxn], h[maxn], y[maxn], x[maxn], c[maxn];
^
0_0_33899252_21219.cpp:3:8: error: 'maxn' was not declared in this scope
char s[maxn];
^
0_0_33899252_21219.cpp: In function 'void get_sa()':
0_0_33899252_21219.cpp:6:9: error: 'i' was not declared in this scope
rep(i, 0, m) c[i] = 0;
^
0_0_33899252_21219.cpp:6:16: error: 'rep' was not declared in this scope
rep(i, 0, m) c[i] = 0;
^
0_0_33899252_21219.cpp:9:33: error: 'sa' was not declared in this scope
for(int i = n; i >= 1; i--) sa[c[x[i]]--] = i;
^
0_0_33899252_21219.cpp:9:36: error: 'c' was not declared in this scope
for(int i = n; i >= 1; i--) sa[c[x[i]]--] = i;
^
0_0_33899252_21219.cpp:9:38: error: 'x' was not declared in this scope
for(int i = n; i >= 1; i--) sa[c[x[i]]--] = i;
^
0_0_33899252_21219.cpp:12:45: error: 'y' was not declared in this scope
for(int i = n - k + 1; i <= n; i++) y[++num] = i;
^
0_0_33899252_21219.cpp:17:37: error: 'sa' was not declared in this scope
for(int i = n; i >= 1; i--) sa[c[x[y[i]]]--] = y[i], y[i] = 0;
^
0_0_33899252_21219.cpp:17:40: error: 'c' was not declared in this scope
for(int i = n; i >= 1; i--) sa[c[x[y[i]]]--] = y[i], y[i] = 0;
^
0_0_33899252_21219.cpp:17:42: error: 'x' was not declared in this scope
for(int i = n; i >= 1; i--) sa[c[x[y[i]]]--] = y[i], y[i] = 0;
^
0_0_33899252_21219.cpp:17:44: error: 'y' was not declared in this scope
for(int i = n; i >= 1; i--) sa[c[x[y[i]]]--] = y[i], y[i] = 0;
^
0_0_33899252_21219.cpp:23:9: error: 'x' was not declared in this scope
x[sa[1]] = 1, num = 1;
^
0_0_33899252_21219.cpp:23:11: error: 'sa' was not declared in this scope
x[sa[1]] = 1, num = 1;
^
0_0_33899252_21219.cpp: In function 'void get_height()':
0_0_33899252_21219.cpp:31:9: error: 'i' was not declared in this scope
rep(i, 1, n) rk[sa[i]] = i;
^
0_0_33899252_21219.cpp:31:16: error: 'rep' was not declared in this scope
rep(i, 1, n) rk[sa[i]] = i;
^
|