0_0_28709411_23873.cpp: In function 'void SA::suffixArray(ll, const T*)':
0_0_28709411_23873.cpp:55:31: error: invalid types 'll {aka long long int}[int]' for array subscript
for (ll i = 0, h = h[0] = 0; i < n-1; i++) {
^
0_0_28709411_23873.cpp:58:24: error: invalid types 'll {aka long long int}[ll {aka long long int}]' for array subscript
if (h[rk[i]] = h) h--;
^
0_0_28709411_23873.cpp: In function 'void SA::solve(ll)':
0_0_28709411_23873.cpp:93:21: error: 'cal' was not declared in this scope
ll ans=cal(k)-cal(k+1);
^
|