AntTime Limit:1 Second Memory Limit:32768 KBThere is an ant named Alice. Alice likes going hiking very much. Today, she wants to climb a cuboid. The l...
分类:
其他好文 时间:
2015-10-18 23:08:13
阅读次数:
248
You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb...
分类:
其他好文 时间:
2015-10-14 19:53:32
阅读次数:
118
题意:有n块石头,给定他们的高度,现保持第一和最后一块高度不变,其他可增加和减少高度,求通过变换使所有相邻石头的高度差的绝对值不大于d,所变化高度总和的最小值。分析:状态还可以想出来,dp[i][j]=min(dp[i-1][k])+abs(s[j]-h[i]),j,k表示i,i-1高度的状态,h[...
分类:
其他好文 时间:
2015-10-13 00:11:56
阅读次数:
227
题目:You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl...
分类:
其他好文 时间:
2015-10-08 10:15:42
阅读次数:
137
Question:You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can ...
分类:
其他好文 时间:
2015-09-29 16:39:11
阅读次数:
153
You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb...
分类:
其他好文 时间:
2015-09-25 11:09:53
阅读次数:
234
You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb...
分类:
其他好文 时间:
2015-09-23 14:53:29
阅读次数:
136
QuestionYou are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can y...
分类:
其他好文 时间:
2015-09-20 00:25:47
阅读次数:
183
为了直观的修改TT客户端页面,我花了很多时间在网上寻找UIDesigner设计工具。最后实在是找不到了,就找了同事帮忙,他climb over the wall(这个词都成敏感词汇了?博客里居然不准用)之后终于帮我...
分类:
Windows程序 时间:
2015-09-08 12:45:38
阅读次数:
1064
Climbing StairsYou are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct way...
分类:
其他好文 时间:
2015-09-07 00:21:08
阅读次数:
241