摘要: 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 ... 阅读全文
posted @ 2013-11-20 00:03 沙茶面 阅读(162) 评论(0) 推荐(0) 编辑