hdu1757 - A Simple Math Problem(矩阵快速幂模板题)

Lele now is thinking about a simple function f(x).  If x < 10 f(x) = x.  If x >= 10 f(x) = a0 * f(x-1) + a1 * f(x-2) + a2 * f(x-3) + …… + a9 * f(x-10);  And ai(0<=i<=9) can only be 0 or 1 .  Now, I wi
相关文章
相关标签/搜索