CodeForces 461 B.Appleman and Tree(树形dp)

NoSuchKey