0_0_34398116_5493.cpp: In function 'int lca(int, int)':
0_0_34398116_5493.cpp:65:5: error: redefinition of 'int lca(int, int)'
int lca(int u, int v) {
^
0_0_34398116_5493.cpp:36:5: note: 'int lca(int, int)' previously defined here
int lca(int a, int b) {
^
0_0_34398116_5493.cpp:66:13: error: 'top' was not declared in this scope
for ( ; top[u] != top[v]; u = fa[top[u]])
^
|