0_0_36457759_13337.cpp: In function 'void tree_change(long long int, long long int, long long int)':
0_0_36457759_13337.cpp:78:4: error: 'p1' was not declared in this scope
p1-=deep[top[u]]-deep[u];
^
0_0_36457759_13337.cpp:87:4: error: 'p2' was not declared in this scope
p2+=deep[top[v]]-deep[v];
^
0_0_36457759_13337.cpp:97:3: error: 'p2' was not declared in this scope
p2+=deep[u]-deep[v];
^
0_0_36457759_13337.cpp:104:3: error: 'p1' was not declared in this scope
p1-=deep[v]-deep[u];
^
|