Virus Tree 2(樹)

題目描述 You are given a tree with N vertices and N−1 edges. The vertices are numbered 1 to N, and the i-th edge connects Vertex ai and bi. You have coloring materials of K colors. For each vertex in the
相關文章
相關標籤/搜索