POJ 1655 Balancing Act 树的重心

Balancing Act Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 16866   Accepted: 7130 Description Consider a tree T with N (1 <= N <= 20,000) nodes numbered 1...N. Deleting any node from t
相关文章
相关标签/搜索