0_0_39803436_992.cpp: In function 'void dfs(int, int)':
0_0_39803436_992.cpp:16:5: error: 'dep' was not declared in this scope; did you mean 'ldexp'?
16 | dep[x]=dep[father]+1;
| ^~~
| ldexp
0_0_39803436_992.cpp:17:5: error: 'fa' was not declared in this scope; did you mean 'fma'?
17 | fa[x][0]=father;
| ^~
| fma
0_0_39803436_992.cpp:22:21: error: 'edge' was not declared in this scope
22 | for(auto [to,w]:edge[x])
| ^~~~
0_0_39803436_992.cpp:26:13: error: 'num' was not declared in this scope; did you mean 'enum'?
26 | num[to]=num[x]+w;
| ^~~
| enum
0_0_39803436_992.cpp: In function 'int lca(int, int)':
0_0_39803436_992.cpp:34:8: error: 'dep' was not declared in this scope; did you mean 'ldexp'?
34 | if(dep[a]<dep[b])swap(a,b);
| ^~~
| ldexp
0_0_39803436_992.cpp:37:13: error: 'dep' was not declared in this scope; did you mean 'ldexp'?
37 | if (dep[fa[a][i]] >= dep[b])
| ^~~
| ldexp
0_0_39803436_992.cpp:37:17: error: 'fa' was not declared in this scope; did you mean 'a'?
37 | if (dep[fa[a][i]] >= dep[b])
| ^~
| a
0_0_39803436_992.cpp:43:12: error: 'fa' was not declared in this scope; did you mean 'a'?
43 | if(fa[a][i] != fa[b][i])
| ^~
| a
0_0_39803436_992.cpp:49:12: error: 'fa' was not declared in this scope; did you mean 'a'?
49 | return fa[a][0];
| ^~
| a
|