Rosetta Problems

Frequency Table of Tree Distance

https://judge.yosupo.jp/problem/frequency_table_of_tree_distance