跳台阶 class Solution {public: int jumpFloor(int number) { int fb[3]; fb[0] = 1; fb[1] = 1; fb[2] = 2; if(number <= 1) return 1; if(number <= 2) Algorithm 2024-01-22 32 点赞 0 评论 48 浏览