2020杭电多校第九场 Tree

第一题:Tree 题目: You are given a tree consisting of n vertices numbered 1 to n rooted at node 1. The parent of the i-th vertices is pi. You can move from a vertex to any of its children. What’s more, you
相关文章
相关标签/搜索