传送门
模板不解释。
——代码
1 #include <cstdio> 2 #include <cstring> 3 #define LL long long 4 5 int n; 6 LL k; 7 const int p = 1e9 + 7; 8 9 struct Matrix 10 16 }; 17 18 inline Matrix operator * (const Matrix x, const Matrix y) 19 28 29 int main() 30 44 for(i = 0; i < n; i++) 45 49 return 0; 50 }View Code
上一篇:[luoguP2801] 教主的魔法(二分 + 分块)
下一篇:[BZOJ1029] [JSOI2007]建筑抢修(贪心 + 优先队列)
矩阵 模板









