Descriptions:

Add on a Tree: Revolution

CodeForces - 1189D2