Codeforces D. 0-1-Tree (树形dp)

NoSuchKey