CF1254D Tree Queries 题解

摘要: 由于不会换根就写了长剖,实现了 O(n√(nlogn))。/kel