1 class Solution { 2 public: 3 int jumpFloorII(int number) { 4 if (number < 0)return 0; 5 return pow(2, number - 1); 6 } 7 };