题目:http://www.nowcoder.com/practice/8c82a5b80378478f9484d87d1c5f12a4

C++

 class Solution {
public:
int jumpFloor(int n) {
if (n == || n == ) return n;
return jumpFloor(n - ) + jumpFloor(n - );
}
};
05-04 12:50