Codeforces Round #487 (Div. 2) E. A Trance of Nightfall (矩阵优化)

NoSuchKey