2019暑假集训第三天-(递推算法)

1.走楼梯(stairs) #include <bits/stdc++.h> using namespace std; int climbStairs(int n) { if(n < 1) return 0; if(n == 1) return 1; if(n == 2) return 2; return cli
相关文章
相关标签/搜索