Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

chai_peelo's blog

By chai_peelo, history, 8 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