Codeforces Round #591 E. Paint the Tree 树形dp

NoSuchKey