摘要: 问题描述 解决方案 //按照组合的方法,求解 class Solution { public: int countNumbersWithUniqueDigits(int n) { if(n==0) return 1; int count=10; for(int i=2;i 阅读全文
posted @ 2016-08-26 14:46 弦断 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 问题描述 解决方案 阅读全文
posted @ 2016-08-26 13:25 弦断 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 问题描述 解决方案 我的解决方法 class Solution { public: int climbStairs(int n) { int a=1,b=1; for(int i=1;i 阅读全文
posted @ 2016-08-26 11:16 弦断 阅读(195) 评论(0) 推荐(0) 编辑