码迷,mamicode.com
首页 >  
搜索关键字:robber    ( 302个结果
[LeetCode] House Robber II
This problem is a little tricky at first glance. However, if you have finished theHouse Robberproblem, this problem can simply bedecomposed into two H...
分类:其他好文   时间:2015-08-15 11:43:56    阅读次数:105
HDU 2955(01背包问题)
M -01背包Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionThe aspiring Roy the Robber has seen a lot of American movies, and...
分类:其他好文   时间:2015-08-13 17:43:06    阅读次数:101
ACM 01背包问题
DescriptionThe aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because th...
分类:其他好文   时间:2015-08-12 21:30:56    阅读次数:123
LeetCode 213. House Robber II
和LeetCode 198. House Robber类似,应用动态规划,构造数组dp[nums.size()][2][2],  相比LeetCode 198. House Robber, 由于题目将整个房子变成了一个环形,我们在此就多增加了一维k, 用来专门标识是否取nums[0]. 对于dp[i][j][k],  j=0时不取nums[i], j=1时取nums[i]; k=0时不取nu...
分类:其他好文   时间:2015-08-12 16:49:11    阅读次数:145
01背包M
DescriptionThe aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because th...
分类:其他好文   时间:2015-08-11 18:10:04    阅读次数:144
(leetcode)House Robber
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo...
分类:其他好文   时间:2015-08-09 00:13:33    阅读次数:225
[leedcode 213] House Robber II
Note:This is an extension ofHouse Robber.After robbing those houses on that street, the thief has found himself a new place for his thievery so that h...
分类:其他好文   时间:2015-08-06 21:40:39    阅读次数:143
[leetcode 213]House Robber II
Note: This is an extension of House Robber. After robbing those houses on that street, the thief has found himself a new place for his thievery so that he will not get too much attention. This time...
分类:其他好文   时间:2015-08-05 16:25:52    阅读次数:133
【LeetCode】198 - House Robber
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo...
分类:其他好文   时间:2015-08-04 00:35:17    阅读次数:99
[leedcode 198] House Robber
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo...
分类:其他好文   时间:2015-08-03 22:23:48    阅读次数:201
302条   上一页 1 ... 18 19 20 21 22 ... 31 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!