Number on tree problem

Revision en1, by horseprabhat625, 2020-01-25 15:45:57

can anyone help me out in the below problem solution. I didn't understand the editorial. https://mirror.codeforces.com/contest/1286/problem/B

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English horseprabhat625 2020-01-25 15:45:57 157 Initial revision (published)