Distance in Tree

Правка en1, от codingdude, 2018-01-24 14:02:05

Hello guys, I was solving this problem (http://codeforces.me/contest/161/problem/D).

After trying for sometime , I read the editorial of the problem and I am not being able to understand the meaning of this line.

Can anyobdy help me with this?

I basically want to understand about logic or proof behind this.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский codingdude 2018-01-24 14:02:05 421 Initial revision (published)