Codeforces Round #589 (Div. 2) B. Filling the Grid(思维)

NoSuchKey