class Solution { public: int jumpFloorII(int number) { int i,s=1; for(i=1;i<number;i++) { s=2*s; } return s; } };//f(n)=2得得n-1次方