代码
class Solution {
public:
int jumpFloorII(int number) {
return pow(2,number-1);
}
};
思路
非常简单易懂,拜拜~
2024-01-07 16:21:34
代码
class Solution {
public:
int jumpFloorII(int number) {
return pow(2,number-1);
}
};
思路
非常简单易懂,拜拜~