Educational Codeforces Round 60 D dp + 矩阵快速幂
摘要:
题意 有n个特殊宝石(n define P 1000000007 define ll long long define M 105 using namespace std; struct N{ ll a[M][M]; }; ll m,n,i,j; N mul(N x,N y){ N z; memse 阅读全文
posted @ 2019-03-09 20:43 VIrtuoso 阅读(91) 评论(0) 推荐(0) 编辑