摘要: You are given a rooted tree with root in vertex 1. Each vertex is coloured in some colour. Let's call colour c dominating in the subtree of vertex v i 阅读全文
posted @ 2018-11-16 22:24 冥想选手 阅读(282) 评论(0) 推荐(0) 编辑