0_0_37794374_11841.cpp: In function 'void dfs1(int, int)':
0_0_37794374_11841.cpp:28:18: error: 'mx' was not declared in this scope
dep[x]=dep[f]+1;mx=max(mx,dep[x]);
^
0_0_37794374_11841.cpp: In function 'void Solve()':
0_0_37794374_11841.cpp:57:8: error: 'mx' was not declared in this scope
cnt=0;mx=0;
^
|