Codeforces Round #381 (Div. 2) D. Alyona and a tree
D. Alyona and a treetime limit per test2 secondsmemory limit per test256 megabytesAlyona has a tree with n vertices. The root of the tree is the vertex1. In each vertex Alyona wr