2015年4月5日

POJ 3070 矩阵快速幂

摘要: 裸题,最简单fib的应用模板,算是新技能get 吧。 其实和快速幂差不多了,只是矩阵代替的递推式。 1 #include 2 #include 3 #include 4 using namespace std; 5 const int maxn = 1005; 6 struct node... 阅读全文

posted @ 2015-04-05 23:59 round_0 阅读(106) 评论(0) 推荐(0) 编辑

导航