You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl ...
分类:
其他好文 时间:
2017-03-07 08:40:20
阅读次数:
155
函数都有prototype属性 对象都有__proto__属性 原型就像是干爹,可以改变,可以多个 猫 function Cat(){ this.climb = function(){ alert("爬树"); } } 鸟 function Bird(){ this.fly = function() ...
分类:
其他好文 时间:
2017-02-16 13:12:16
阅读次数:
177
58. 延绵的山峰 ★★☆ 输入文件:climb.in 输出文件:climb.out 简单对比时间限制:1 s 内存限制:512 MB 问题描述 有一座延绵不断、跌宕起伏的山,最低处海拔为0,最高处海拔不超过8848米,从这座山的一端走到另一端的过程中,每走1米海拔就升高或降低1米。有Q个登山队计划 ...
分类:
其他好文 时间:
2017-02-05 18:21:04
阅读次数:
164
You are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you cli... ...
分类:
其他好文 时间:
2017-01-14 12:19:42
阅读次数:
164
You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl ...
分类:
其他好文 时间:
2016-12-30 20:38:47
阅读次数:
176
#70. Climbing Stairs You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many dis ...
分类:
其他好文 时间:
2016-11-20 19:08:27
阅读次数:
198
Problem: You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways c ...
分类:
其他好文 时间:
2016-11-05 09:17:16
阅读次数:
292
You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl ...
分类:
编程语言 时间:
2016-10-13 02:01:40
阅读次数:
127
You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl ...
分类:
其他好文 时间:
2016-09-16 22:53:34
阅读次数:
136
You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl ...
分类:
其他好文 时间:
2016-09-15 13:48:26
阅读次数:
116