Codeforces Round #524 (Div. 2) Masha and two friends矩形

NoSuchKey