摘要:
Description Barney lives in country USC (United States of Charzeh). USC has n cities numbered from 1 through n and n - 1 roads between them. Cities an 阅读全文
摘要:
题意翻译 一棵树有n个结点,每个结点都是一种颜色,每个颜色有一个编号,求树中每个子树的最多的颜色编号的和。 题目描述 You are given a rooted tree with root in vertex 11 . Each vertex is coloured in some colour 阅读全文