BZOJ4002 [JLOI2015]有意义的字符串 【数学 + 矩乘】

NoSuchKey