0_0_14643134_18503.cpp: In function 'void solve()':
0_0_14643134_18503.cpp:75:17: error: 'root' was not declared in this scope
while (cur != root && cur->next[s[i]-CBase] == NULL) cur = cur->fail;
^
0_0_14643134_18503.cpp:78:17: error: 'root' was not declared in this scope
while (tmp != root && tmp->count > 0) {
^
|