Hey. In this post I`d like to give some tasks on centroid decomposition.
There`re useful links below
https://neerc.ifmo.ru/wiki/index.php?title=Centroid_decomposition
https://codeforces.com/blog/entry/73707
Also some tasks on this topic
Centroid decomposition
Hey. In this post I`d like to give some tasks on centroid decomposition.
There`re useful links below
https://neerc.ifmo.ru/wiki/index.php?title=Centroid_decomposition
https://codeforces.com/blog/entry/73707
Also some tasks on this topic