Codeforces Round #495 (Div. 2):D. Sonya and Matrix(暴力)

NoSuchKey