随笔分类 - 【动态规划】
摘要:P1962 斐波那契数列 P1962 斐波那契数列 P1962 斐波那契数列 题目背景 大家都知道,斐波那契数列是满足如下性质的一个数列: • f(1) = 1 • f(2) = 1 • f(n) = f(n-1) + f(n-2) (n ≥ 2 且 n 为整数) 题目描述 请你求出 f(n) mo
阅读全文
摘要:Computer HDU - 2196 Computer A school bought the first computer some time ago(so this computer's id is 1). During the recent years the school bought N
阅读全文
浙公网安备 33010602011771号