
矩阵快速幂
滴滴肥猫
痛出来的鲜美,才足够颠倒众生
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
矩阵快速幂模板和构造矩阵
板子代码(其余的题构造出矩阵代入,改下计算的结果就行) #include<stdio.h> #include<string.h> #include<algorithm> using namespace std; #define mod 10000 struct node { long long m[2][2];//根据构造的矩阵而定数组的大小 } a...原创 2018-08-09 17:33:46 · 470 阅读 · 0 评论 -
233 Matrix
Time limit 5000 ms Memory limit 65536 kB OS Windows In our daily life we often use 233 to express our feelings. Actually, we may say 2333, 23333, or 233333 ... in the same meaning. And here is t...原创 2018-08-10 16:56:40 · 448 阅读 · 0 评论 -
Training little cats
D - Training little cats Time limit 2000 ms Memory limit 65536 kB OS Linux Facer's pet cat just gave birth to a brood of little cats. Having considered the health of those lovely cats, Facer de...原创 2018-08-07 10:24:05 · 453 阅读 · 0 评论