https://www.luogu.org/problem/show?pid=3383
https://www.luogu.org/problem/show?pid=3390
//矩阵乘法 http://www.ruanyifeng.com/blog/2015/09/matrix-multiplication.html