
矩阵运算
Eiffel灬
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
矩阵运算,矩阵快速幂,模板
#include #include #include #include using namespace std; #define MOD 1000000007 struct Mat{ int n,m; //行列 int mat[19][19]; }; Mat operator *(Mat a,Mat b){ //矩阵相乘 Mat c; memset(c.ma原创 2017-07-31 19:33:50 · 305 阅读 · 0 评论 -
lightOJ 1052 String Growth(矩阵快速幂,找规律)
String GrowthZibon just started his courses in Computer science. After having some lectures on programming courses he fell in love with strings. He started to play with strings and experiments on them.原创 2017-09-01 15:31:40 · 468 阅读 · 0 评论 -
ZOJ-3772 Calculate the Function(线段树,矩阵乘法)
Calculate the Function Time Limit: 2 Seconds Memory Limit: 65536 KB You are given a list of numbers A1 A2 .. AN and M queries. For the i-th query: The query has two parameters Li and R原创 2017-12-24 22:50:13 · 339 阅读 · 0 评论