Codeforces Round #539 (Div. 2) Sasha and a Bit of Relax 【DP】

NoSuchKey