Paint the Tree

Problem Name:
Paint the Tree
Site:CodeForces
Links:
Tags:
Problem setters: