矩阵快速幂
Anpedestrian
这个作者很懒,什么都没留下…
展开
-
POJ - 3734 Blocks 矩阵的快速幂
Language: Default Blocks Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 6476 Accepted: 3121 Description Panda has received an assignment of painting a原创 2017-03-18 21:41:22 · 304 阅读 · 0 评论 -
UVA - 10689 —— Yet another Number Sequence —— quickpow_Mat
Let’s define another number sequence, given by the following function: f(0) = a f(1) = b f(n) = f(n − 1) + f(n − 2), n > 1 When a = 0 and b = 1, this sequence gives the Fibonacci Sequence. Changin原创 2017-04-03 20:27:12 · 327 阅读 · 0 评论