【codeforces 19/11/06 div2】C. Tile Painting

NoSuchKey