摘要:
http://oj.leetcode.com/problems/climbing-stairs/不要在一个CASE里重复计算 1 int res[10000]={0}; 2 class Solution { 3 public: 4 int climbStairs(int n) { 5 // IMPORTANT: Please reset any member data you declared, as 6 // the same Solution instance will be reused for each test case. 7 ... 阅读全文