摘要: 参考博客:http://blog.csdn.net/rowanhaoa/article/details/39343769 反正递推关系式推了一个多小时没搞出来。。。太弱了 真是愧对数学系这一专业了。。。。 转移矩阵就是这个: 10 0 0 0 0 1 10 1 0 0 0 1 10 1 1 0 0 阅读全文
posted @ 2017-05-15 21:25 walfy 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 找出递推关系式就好了 (fi+1)=(1 -1)(fi ) ( fi)=(1 0)(fi-1) 不会打矩阵将就着看吧。。。 这是第一道矩阵快速幂。细节还是有很多没注意到的 本来想看挑战写的,结果上面的vector套vector看的我头都晕了。。 #include<map> #include<set> 阅读全文
posted @ 2017-05-15 19:54 walfy 阅读(182) 评论(0) 推荐(0) 编辑
摘要: During several decades, scientists from planet Nibiru are working to create an engine that would allow spacecrafts to fall into hyperspace and move th 阅读全文
posted @ 2017-05-15 16:48 walfy 阅读(187) 评论(0) 推荐(0) 编辑