Codeforces 960E Alternating Tree [树形DP]

NoSuchKey