0_0_38893658_22767.cpp:18:1: error: 'vector' does not name a type
18 | vector<int> g[N];
| ^~~~~~
0_0_38893658_22767.cpp: In function 'void clear()':
0_0_38893658_22767.cpp:44:40: error: 'g' was not declared in this scope
44 | for(int i=1;i<=tot;++i)fa[i]=0,g[i].clear();
| ^
0_0_38893658_22767.cpp: In function 'void getfail()':
0_0_38893658_22767.cpp:90:32: error: 'g' was not declared in this scope
90 | for(int i=2;i<=tot;++i)g[fa[i]].push_back(i);
| ^
0_0_38893658_22767.cpp: In function 'void dfs(int)':
0_0_38893658_22767.cpp:95:23: error: 'g' was not declared in this scope
95 | for(int i=0;i<g[u].size();++i)dfs(g[u][i]),siz[u]+=siz[g[u][i]];
| ^
|