Hackerrank Problem.

Правка en1, от shubhamgoyal__, 2017-08-08 17:22:07

I was trying to solve this problem which recently appeared in a hackerrank contest. The editorial mentions a solution based on geometric interpretation of the question.But since a lot of tree path questions can be done using centroid decomposition,does anyone know how to solve it using centroid decomposition?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский shubhamgoyal__ 2017-08-08 17:22:07 565 Initial revision (published)