![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
矩阵快速幂
文章平均质量分 81
black_miracle
这个作者很懒,什么都没留下…
展开
-
POJ 3233 矩阵快速幂
Matrix Power SeriesTime Limit: 3000MS Memory Limit: 131072K DescriptionGiven a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 + … + Ak.原创 2016-09-12 12:48:42 · 193 阅读 · 0 评论 -
HDU 3292 佩尔方程+矩阵快速幂
No more tricks, Mr NanguoTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Problem DescriptionNow Sailormoon girls want to tell you a ancient idiom sto原创 2016-09-13 12:34:51 · 394 阅读 · 0 评论 -
矩阵快速幂
情书抄写员——高级Time Limit: 1000MS Memory Limit: 1000K DescriptionWind的女友数量是惊人的。每个月开始时,Wind的每一个正式女友都会给他介绍k个新的女生,我们称这样的新人为“潜在的女友”(Potential GirlFriend)。通过近两个月的交往,潜在的女原创 2016-08-12 22:53:58 · 314 阅读 · 0 评论 -
HDU 5895 矩阵快速幂+欧拉函数
Mathematician QSCTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Problem DescriptionQSC dream of becoming a mathematician, he believes that everythin原创 2016-09-19 16:29:41 · 342 阅读 · 0 评论 -
哈尔滨理工大学软件学院ACM程序设计全国邀请赛(网络同步赛)F Fibonacci Again 矩阵快速幂
Fibonacci Again Description There are anotherkind of Fibonacci numbers: F(0) = 7, F(1) = 11, F(n) = (F(n-1) + F(n-2)) xor(n&1) (n>=2). Input Input consists ofa sequence of lines, each c原创 2016-12-05 14:49:54 · 418 阅读 · 0 评论