Codeforces Round #495 (Div. 2) E. Sonya and Ice Cream 树形dp

NoSuchKey