码迷,mamicode.com
首页 >  
搜索关键字:robber    ( 302个结果
House Robber
/*题意:有一排房子,每个房子里有一些钱,每两个相连房子只能取一个,问取得的最大的钱数是多少? */class Solution {public: int rob(vector &num) { int len = num.size(),num1 = 0,num2 = 0,temp...
分类:其他好文   时间:2015-04-11 16:03:16    阅读次数:152
【LeetCode】198. House Robber
House RobberYou are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint...
分类:其他好文   时间:2015-04-11 13:14:06    阅读次数:127
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-04-09 17:10:56    阅读次数:114
House Robber
Description:You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint...
分类:其他好文   时间:2015-04-08 21:13:10    阅读次数:99
[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 you from robbing each of them is that adjacent hous...
分类:其他好文   时间:2015-04-08 13:12:03    阅读次数:133
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-04-08 12:26:50    阅读次数:127
[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 you from robbing each of them is that adjacent houses...
分类:其他好文   时间:2015-04-08 11:00:52    阅读次数:141
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-04-08 07:53:03    阅读次数:103
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 you from robbing each of them is that adjacent houses have security system connected and it will automatical...
分类:其他好文   时间:2015-04-07 17:50:17    阅读次数:147
[LeetCode] House Robber
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 you from robbing each of them is t...
分类:其他好文   时间:2015-04-07 15:43:40    阅读次数:340
302条   上一页 1 ... 26 27 28 29 30 31 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!