0_0_30992988_24363.cpp: In member function 'int lca_Doubling::getDistance(int, int)':
0_0_30992988_24363.cpp:70:23: error: 'lca' was not declared in this scope
return dis[u]+lca.dis[v]-2*lca.dis[getAncestor(u,v)];
^
0_0_30992988_24363.cpp: In function 'int main()':
0_0_30992988_24363.cpp:116:30: error: use of 'u' before deduction of 'auto'
for ( auto u : c[u] )
^
0_0_30992988_24363.cpp:117:34: error: use of 'v' before deduction of 'auto'
for ( auto v : c[v] )
^
|