摘要: Problem Description 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) + … 阅读全文
posted @ 2016-10-18 20:40 ACforever 阅读(137) 评论(0) 推荐(0) 编辑
摘要: (留坑) 阅读全文
posted @ 2016-10-18 20:15 ACforever 阅读(128) 评论(0) 推荐(0) 编辑
摘要: Description In the Fibonacci integer sequence, F0 = 0, F1 = 1, and Fn = Fn − 1 + Fn − 2 for n ≥ 2. For example, the first ten terms of the Fibonacci s 阅读全文
posted @ 2016-10-18 19:10 ACforever 阅读(191) 评论(0) 推荐(0) 编辑
摘要: Consider recurrent functions of the following form:f(n) = a1f(n - 1) + a2f(n - 2) + a3f(n - 3) + : : : + adf(n - d); for n > d;where a1, a2, …, ad are 阅读全文
posted @ 2016-10-18 17:02 ACforever 阅读(384) 评论(0) 推荐(0) 编辑