摘要: 题目链接:hdu_5950_Recursive sequence 题意:递推求解:F(n) = 2*F(n-2) + F(n-1) + n4 和F(1) = a,F(2) = b; 题解: 一看数据范围,肯定矩阵加速递推,不过公式不是线性的,需要把公式转换为线性的公式 1 #include<bits 阅读全文
posted @ 2016-11-04 21:59 bin_gege 阅读(127) 评论(0) 推荐(0) 编辑