codeforces1187E】的更多相关文章

题目链接:http://codeforces.com/problemset/problem/1187/E E. Tree Painting You are given a tree (an undirected connected acyclic graph) consisting of nn vertices. You are playing a game on this tree. Initially all vertices are white. On the first turn of…