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
相關文章
相關標籤/搜索