1 public class Solution { 2 public int JumpFloor(int n) { 3 return n<3? n:JumpFloor(n-1)+JumpFloor(n-2); 4 } 5 }