A nice problem on tree

Правка en1, от Yellow.Flash, 2016-10-13 17:36:48

https://www.hackerrank.com/contests/101hack41/challenges/the-forest-game

Can someone explain the idea behind this problem?
Editorial is not much clear,lacks proof.
Thanks.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Yellow.Flash 2016-10-13 17:36:48 207 Initial revision (published)