【题解】poj1655[2018.7.22校赛 字典树-树的重心-树状数组B].Balancing Act 树的重心
题目链接
Description
Consider a tree T with N (1 <= N <= 20,000) nodes numbered 1…N. Deleting any node from the tree yields a forest: a collection of one or more trees. Define the balance of a node ...
原创
2018-09-19 11:40:57 ·
132 阅读 ·
0 评论