chai_peelo's blog

By chai_peelo, history, 6 years ago, In English

I am trying to solve https://www.spoj.com/problems/QTREE4/ using centroid decomposition, but I am not able to solve it.

It would be appreciated if someone could help me with the approach.

Thanks in advance!

  • Vote: I like it
  • -6
  • Vote: I do not like it