标签:依次 div scribe ... item number esc 多少 floor
class Solution { public: int jumpFloorII(int number) { int f = 1; int fn = 1; for(int i = 2; i <= number; i++){ fn = 2 * f; f = fn; } return fn; } };
标签:依次 div scribe ... item number esc 多少 floor
原文地址:http://www.cnblogs.com/hutonm/p/6606959.html