Codeforces Round #566 (Div. 2) E(矩阵快速幂)

NoSuchKey