![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
矩阵快速幂
nyist_xushukui
成材不自在,自在不成材!!
展开
-
nyoj 300 (矩阵快速幂)Kiki & Little Kiki 2
描述 There are n lights in a circle numbered from 1 to n. The left of light 1 is light n, and the left of light k (1< k<= n) is the light k-1.At time of 0, some of them turn on, and others turn off. C原创 2017-05-30 14:52:45 · 273 阅读 · 0 评论 -
矩阵快速幂模板
#include<map> #include<set> #include<queue> #include<stack> #include<vector> #include<math.h> #include<cstdio> #include<sstream> #include<numeric>//STL数值算法头文件 #include<stdlib.h> #include <ctype.h> #inc原创 2017-05-30 17:06:41 · 225 阅读 · 0 评论