0_0_22196267_1914.cpp:7:6: error: expected constructor, destructor, or type conversion before ';' token
int trans[N][Z], par[N], len[N], tot, tail;
^
0_0_22196267_1914.cpp:7:13: error: expected constructor, destructor, or type conversion before ';' token
int trans[N][Z], par[N], len[N], tot, tail;
^
0_0_22196267_1914.cpp:13:6: error: expected constructor, destructor, or type conversion before ';' token
inline int new_node(){
^
0_0_22196267_1914.cpp:13:13: error: expected constructor, destructor, or type conversion before ';' token
inline int new_node(){
^
0_0_22196267_1914.cpp: In function 'int SAM::new_node()':
0_0_22196267_1914.cpp:14:2: error: 'nbsp' was not declared in this scope
RST(trans[tot]);
^
0_0_22196267_1914.cpp:14:43: error: 'RST' was not declared in this scope
RST(trans[tot]);
^
0_0_22196267_1914.cpp: At global scope:
0_0_22196267_1914.cpp:18:6: error: expected constructor, destructor, or type conversion before ';' token
inline int new_node(int u){
^
0_0_22196267_1914.cpp:18:13: error: expected constructor, destructor, or type conversion before ';' token
inline int new_node(int u){
^
0_0_22196267_1914.cpp: In function 'int SAM::new_node(int)':
0_0_22196267_1914.cpp:19:2: error: 'nbsp' was not declared in this scope
CPY(trans[tot], trans[u]); par[tot] = par[u];
^
0_0_22196267_1914.cpp:19:53: error: 'CPY' was not declared in this scope
CPY(trans[tot], trans[u]); par[tot] = par[u];
^
0_0_22196267_1914.cpp: At global scope:
0_0_22196267_1914.cpp:23:6: error: expected constructor, destructor, or type conversion before ';' token
inline int h(int u){
^
0_0_22196267_1914.cpp:23:13: error: expected constructor, destructor, or type conversion before ';' token
inline int h(int u){
^
0_0_22196267_1914.cpp: In function 'int SAM::h(int)':
0_0_22196267_1914.cpp:24:2: error: 'nbsp' was not declared in this scope
return len[u] - len[p];
^
0_0_22196267_1914.cpp: At global scope:
0_0_22196267_1914.cpp:27:6: error: expected constructor, destructor, or type conversion before ';' token
int Ext(int c){
^
0_0_22196267_1914.cpp:27:13: error: expected constructor, destructor, or type conversion before ';' token
int Ext(int c){
^
0_0_22196267_1914.cpp: In function 'int SAM::Ext(int)':
0_0_22196267_1914.cpp:28:2: error: 'nbsp' was not declared in this scope
int u = tail, uu = new_node(); len[uu] = len[u] + 1;
^
0_0_22196267_1914.cpp:31:29: error: 'else' without a previous 'if'
else{
^
0_0_22196267_1914.cpp:33:43: error: 'else' without a previous 'if'
else{
^
0_0_22196267_1914.cpp: At global scope:
0_0_22196267_1914.cpp:42:6: error: expected constructor, destructor, or type conversion before ';' token
char str[N/2];int prefix[N/2];VI adj[N];int fa[LV][N],L[N],R[N],tt;
^
0_0_22196267_1914.cpp:42:13: error: expected constructor, destructor, or type conversion before ';' token
char str[N/2];int prefix[N/2];VI adj[N];int fa[LV][N],L[N],R[N],tt;
^
0_0_22196267_1914.cpp:42:45: error: 'VI' does not name a type
char str[N/2];int prefix[N/2];VI adj[N];int fa[LV][N],L[N],R[N],tt;
^
0_0_22196267_1914.cpp:44:6: error: expected constructor, destructor, or type conversion before ';' token
int Find(int u, int l){
^
0_0_22196267_1914.cpp:44:13: error: expected constructor, destructor, or type conversion before ';' token
int Find(int u, int l){
^
0_0_22196267_1914.cpp: In function 'int SAM::Find(int, int)':
0_0_22196267_1914.cpp:45:2: error: 'nbsp' was not declared in this scope
u = prefix[u]; DWN(lv, LV, 0){
^
0_0_22196267_1914.cpp:45:48: error: 'lv' was not declared in this scope
u = prefix[u]; DWN(lv, LV, 0){
^
0_0_22196267_1914.cpp:45:57: error: 'DWN' was not declared in this scope
u = prefix[u]; DWN(lv, LV, 0){
^
0_0_22196267_1914.cpp: At global scope:
0_0_22196267_1914.cpp:53:6: error: expected constructor, destructor, or type conversion before ';' token
void dfs(int u = 0){
^
0_0_22196267_1914.cpp:53:13: error: expected constructor, destructor, or type conversion before ';' token
void dfs(int u = 0){
^
0_0_22196267_1914.cpp: In function 'void SAM::dfs(int)':
0_0_22196267_1914.cpp:54:2: error: 'nbsp' was not declared in this scope
L[u]=++tt; ECH(it, adj[u]){
^
0_0_22196267_1914.cpp:54:44: error: 'it' was not declared in this scope
L[u]=++tt; ECH(it, adj[u]){
^
0_0_22196267_1914.cpp:54:48: error: 'adj' was not declared in this scope
L[u]=++tt; ECH(it, adj[u]){
^
0_0_22196267_1914.cpp:54:54: error: 'ECH' was not declared in this scope
L[u]=++tt; ECH(it, adj[u]){
^
0_0_22196267_1914.cpp: At global scope:
0_0_22196267_1914.cpp:62:6: error: expected constructor, destructor, or type conversion before ';' token
void Init(){
^
0_0_22196267_1914.cpp:62:13: error: expected constructor, destructor, or type conversion before ';' token
void Init(){
^
0_0_22196267_1914.cpp: In function 'void SAM::Init()':
0_0_22196267_1914.cpp:63:2: error: 'nbsp' was not declared in this scope
tail = tot = 0; new_node();
^
0_0_22196267_1914.cpp:64:35: error: 'RS' was not declared in this scope
RS(str); n = 0; REP_S(cur, str) prefix[n++] = Ext(*cur-'a');
^
0_0_22196267_1914.cpp:64:51: error: 'cur' was not declared in this scope
RS(str); n = 0; REP_S(cur, str) prefix[n++] = Ext(*cur-'a');
^
0_0_22196267_1914.cpp:64:59: error: 'REP_S' was not declared in this scope
RS(str); n = 0; REP_S(cur, str) prefix[n++] = Ext(*cur-'a');
^
0_0_22196267_1914.cpp:65:33: error: 'u' was not declared in this scope
REP(u, tot) adj[u].clear(); FOR(u, 1, tot) adj[p].PB(u),T[u]=0;tt=0,dfs();
^
0_0_22196267_1914.cpp:65:39: error: 'REP' was not declared in this scope
REP(u, tot) adj[u].clear(); FOR(u, 1, tot) adj[p].PB(u),T[u]=0;tt=0,dfs();
^
0_0_22196267_1914.cpp:65:70: error: 'FOR' was not declared in this scope
REP(u, tot) adj[u].clear(); FOR(u, 1, tot) adj[p].PB(u),T[u]=0;tt=0,dfs();
^
0_0_22196267_1914.cpp: At global scope:
0_0_22196267_1914.cpp:74:6: error: expected constructor, destructor, or type conversion before ';' token
const int NN = N*LV;
^
0_0_22196267_1914.cpp:74:13: error: expected constructor, destructor, or type conversion before ';' token
const int NN = N*LV;
^
0_0_22196267_1914.cpp:75:6: error: expected constructor, destructor, or type conversion before ';' token
int c[2][NN], sz[NN], ky[NN], tot;
^
0_0_22196267_1914.cpp:75:13: error: expected constructor, destructor, or type conversion before ';' token
int c[2][NN], sz[NN], ky[NN], tot;
^
0_0_22196267_1914.cpp:83:6: error: expected constructor, destructor, or type conversion before ';' token
int new_node(int v = 0){
^
0_0_22196267_1914.cpp:83:13: error: expected constructor, destructor, or type conversion before ';' token
int new_node(int v = 0){
^
0_0_22196267_1914.cpp: In function 'int SBT::new_node(int)':
0_0_22196267_1914.cpp:84:2: error: 'nbsp' was not declared in this scope
int x=++tot;lx=rx=0;
^
0_0_22196267_1914.cpp: At global scope:
0_0_22196267_1914.cpp:89:6: error: expected constructor, destructor, or type conversion before ';' token
void upd(int x){
^
0_0_22196267_1914.cpp:89:13: error: expected constructor, destructor, or type conversion before ';' token
void upd(int x){
^
0_0_22196267_1914.cpp: In function 'void SBT::upd(int)':
0_0_22196267_1914.cpp:90:2: error: 'nbsp' was not declared in this scope
sx=sz[lx]+1+sz[rx];
^
0_0_22196267_1914.cpp: At global scope:
0_0_22196267_1914.cpp:93:6: error: expected constructor, destructor, or type conversion before ';' token
void rot(int &x,int d){
^
0_0_22196267_19
|