题解列表

筛选

超级楼梯-题解(C++代码)-动态规划练习

摘要:### 动态规划练习 ```cpp 求1-40阶,一共40阶楼梯,欲求第n阶的数量,要先求 n-1阶 + n-2阶的数量 欲求n-1阶和n-2阶,要先求n-1 -1=n-2阶 和n-1 -2=n……