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