0_0_36392059_24084.cpp:1:1: error: 'include' does not name a type
include <bits/stdc++.h>
^
0_0_36392059_24084.cpp: In function 'void SA()':
0_0_36392059_24084.cpp:20:41: error: 'swap' is not a member of 'std'
for (int k = 1, m = 26; k < n; ++k, std :: swap(x, y)) {
^
0_0_36392059_24084.cpp:39:45: error: 'memcpy' was not declared in this scope
if (y != rnk) memcpy(rnk, y, sizeof(rnk));
^
0_0_36392059_24084.cpp: In function 'll calc(int)':
0_0_36392059_24084.cpp:51:45: error: 'max' was not declared in this scope
length[i] = max(0, length[i - 1] - 1);
^
0_0_36392059_24084.cpp:57:49: error: 'min' was not declared in this scope
int k = min(length[sa[i - 1]], height[i]);
^
0_0_36392059_24084.cpp: In function 'int main()':
0_0_36392059_24084.cpp:65:19: error: 'scanf' was not declared in this scope
scanf("%d", &T);
^
0_0_36392059_24084.cpp:82:27: error: 'printf' was not declared in this scope
printf("%d\n", ans);
^
|