0_0_21853627_7584.cpp:17:1: error: 'Edge' does not name a type
Edge e[maxn*2];
^
0_0_21853627_7584.cpp:23:1: error: 'ST' does not name a type
ST st;
^
0_0_21853627_7584.cpp: In function 'void addedge(int, int)':
0_0_21853627_7584.cpp:116:5: error: 'e' was not declared in this scope
e[Edgetot].to=v;
^
0_0_21853627_7584.cpp: In function 'void dfs(int, int, int)':
0_0_21853627_7584.cpp:126:31: error: 'e' was not declared in this scope
for(int i=head[u];i!=-1;i=e[i].next){
^
0_0_21853627_7584.cpp: In function 'void LCA_init(int, int)':
0_0_21853627_7584.cpp:138:5: error: 'st' was not declared in this scope
st.init(2*node_num-1);
^
0_0_21853627_7584.cpp: In function 'int query_lca(int, int)':
0_0_21853627_7584.cpp:141:14: error: 'st' was not declared in this scope
return F[st.query(p[u],p[v])];
^
0_0_21853627_7584.cpp: In function 'void dfs_build(int, int)':
0_0_21853627_7584.cpp:148:31: error: 'e' was not declared in this scope
for(int i=head[u];i!=-1;i=e[i].next){
^
|