CodeForces-1139C-Edgy Trees

題目: Description: You are given a tree (a connected undirected graph without cycles) of nn vertices. Each of the n−1n−1 edges of the tree is colored in either black or red. You are also given an intege
相關文章
相關標籤/搜索