摘要: 大概就是一个 n*n 的矩阵A 求 A^k 的矩阵。 按照快速幂的思想来写。 阅读全文
posted @ 2019-07-04 13:09 kaike 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Educational Codeforces Round 5 D. Longest k-Good Segment Description The array a with n integers is given. Let's call the sequence of one or more cons 阅读全文
posted @ 2019-07-04 10:00 kaike 阅读(181) 评论(0) 推荐(0) 编辑