CF1042F Leaf Sets

原题链接:http://codeforces.com/contest/1042/problem/F Leaf Sets You are given an undirected tree, consisting of n n n vertices. The vertex is called a leaf if it has exactly one vertex adjacent to it. The
相关文章
相关标签/搜索