HDU 5950 Recursive sequence 矩阵快速幂 思维
摘要:
题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5950 题目描述: 给你f(1), f(2), f(n) = f(n-1) + 2*f(n-2) + n^4, 输入n, f(1), f(2), 求出f(n) 解题思路:由于知道递推式, 很明显的矩阵快 阅读全文
posted @ 2017-08-23 22:57 FriskyPuppy 阅读(161) 评论(0) 推荐(0)
浙公网安备 33010602011771号