There are a row of n houses, each house can be painted with one of the k colors. The cost of painting each house with a certain color is different. Yo ...
分类:
其他好文 时间:
2016-07-09 07:04:03
阅读次数:
191
expressions: a great number of 许多 in the centre of 在…的中部 sentences: I have just had breakfast. I have never been to S. He has just left the house. He ...
分类:
其他好文 时间:
2016-07-05 11:59:36
阅读次数:
105
Meeting time: 2016.June.21 1:00~2:00 Chairperson: Thierry Carrez Meeting summary: 1.Add current house rules for reference This lists exceptions to the ...
分类:
其他好文 时间:
2016-07-01 13:36:55
阅读次数:
239
和前两题已经关系不大了……是树的dfs,加上一个表track back ...
分类:
其他好文 时间:
2016-06-29 13:22:23
阅读次数:
167
区别就是用了两个数组,一个强行从第一个开始,一个强行从第二个开始 ...
分类:
其他好文 时间:
2016-06-29 07:47:48
阅读次数:
128
到某个位置的房子为止最大的收益,是“上个房子最大收益”和“上上个房子收益+本房子的收益”中比较大的那个 因为需要用到上上个房子的值,所以至少要有三个房子,所以一个房子的时候要单独处理 ...
分类:
其他好文 时间:
2016-06-29 06:41:53
阅读次数:
160
Problem: https://leetcode.com/problems/house-robber-ii/ After robbing those houses on that street, the thief has found himself a new place for his thi ...
分类:
其他好文 时间:
2016-06-25 21:36:54
阅读次数:
150
The thief has found himself a new place for his thievery again. There is only one entrance to this area, called the "root." Besides the root, each hou ...
分类:
其他好文 时间:
2016-06-25 20:21:15
阅读次数:
184