0_0_24326365_13164.cpp: In function 'int SAM::new_node()':
0_0_24326365_13164.cpp:14:23: error: 'RST' was not declared in this scope
RST(trans[tot]);
^
0_0_24326365_13164.cpp: In function 'int SAM::new_node(int)':
0_0_24326365_13164.cpp:19:33: error: 'CPY' was not declared in this scope
CPY(trans[tot], trans[u]); par[tot] = par[u];
^
0_0_24326365_13164.cpp: At global scope:
0_0_24326365_13164.cpp:42:35: 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_24326365_13164.cpp: In function 'int SAM::Find(int, int)':
0_0_24326365_13164.cpp:45:28: error: 'lv' was not declared in this scope
u = prefix[u]; DWN(lv, LV, 0){
^
0_0_24326365_13164.cpp:45:37: error: 'DWN' was not declared in this scope
u = prefix[u]; DWN(lv, LV, 0){
^
0_0_24326365_13164.cpp: In function 'void SAM::dfs(int)':
0_0_24326365_13164.cpp:54:24: error: 'it' was not declared in this scope
L[u]=++tt; ECH(it, adj[u]){
^
0_0_24326365_13164.cpp:54:28: error: 'adj' was not declared in this scope
L[u]=++tt; ECH(it, adj[u]){
^
0_0_24326365_13164.cpp:54:34: error: 'ECH' was not declared in this scope
L[u]=++tt; ECH(it, adj[u]){
^
0_0_24326365_13164.cpp: In function 'void SAM::Init()':
0_0_24326365_13164.cpp:64:15: error: 'RS' was not declared in this scope
RS(str); n = 0; REP_S(cur, str) prefix[n++] = Ext(*cur-'a');
^
0_0_24326365_13164.cpp:64:31: error: 'cur' was not declared in this scope
RS(str); n = 0; REP_S(cur, str) prefix[n++] = Ext(*cur-'a');
^
0_0_24326365_13164.cpp:64:39: error: 'REP_S' was not declared in this scope
RS(str); n = 0; REP_S(cur, str) prefix[n++] = Ext(*cur-'a');
^
0_0_24326365_13164.cpp:65:13: 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_24326365_13164.cpp:65:19: 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_24326365_13164.cpp:65:50: 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_24326365_13164.cpp: In function 'int main()':
0_0_24326365_13164.cpp:221:5: error: 'Rush' was not declared in this scope
Rush{
^
|