标签:bsp 跳台阶 span int ret off number 剑指offer else
class Solution { public: int jumpFloor(int number) { // if (number == 1) { return 1; } else if (number == 2) { return 2; } else { return(jumpFloor(number - 1) + jumpFloor(number - 2)); } } };
标签:bsp 跳台阶 span int ret off number 剑指offer else
原文地址:http://www.cnblogs.com/159269lzm/p/7260703.html