House Robber题目链接 House Robber II题目链接 1.House Robber 题目要求: You are a professional robber planning to rob houses along a street. Each house has a ...
分类:
其他好文 时间:
2015-06-09 16:35:53
阅读次数:
122
题意:列出每个月需要的员工数,已知每月工资、以及雇佣和开除员工的额外费用,求最小的预算。(只要员工不被开除就拿工资)
分析:开始我想的一维dp,结果在找状态转移方程的时候发现有很多情况要讨论,所以我就认为这题应该是一个贪心题,在准备打代码的时候发现贪心不能得出最优解,所以我就去搜题解了,原来是二维dp。记住一维要分很多情况的要用二维。
dp[i][j]表示第i月用j个员工时前i月的...
分类:
其他好文 时间:
2015-06-07 13:53:07
阅读次数:
218
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-06-07 10:54:26
阅读次数:
227
原文:http://www.infoq.com/cn/articles/operation-platform-planning-introduction很多观点我都比较赞同, 特别是工作流引擎+运维可视化的观点识别运维平台的边界在哪儿,才能更好地构建平台,从而协助运维的日常工作。在之前的文章中,谈到...
分类:
其他好文 时间:
2015-06-01 11:02:54
阅读次数:
185
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-05-30 01:48:23
阅读次数:
101
题目连接http://acm.hdu.edu.cn/showproblem.php?pid=3074 Minimum Inversion NumberDescriptionTired of playing computer games, alpc23 is planning to play...
分类:
其他好文 时间:
2015-05-29 19:46:09
阅读次数:
150
IYou are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping y...
分类:
其他好文 时间:
2015-05-27 06:17:38
阅读次数:
105
第一天,计划会 Sprint Planning Meeting:,主要是了解android开发和熟悉android开发的流程,配置好自己电脑的环境,大牛有言:“开发环境就像是工具一样,一个大牛没有一个好的工具是没法成为大牛的!”(这个我忘了,好像大概是这个意思)。队员要更加充分了解我们的项目的内.....
分类:
其他好文 时间:
2015-05-26 12:27:03
阅读次数:
122
java-Android编程规范
一 目录规范
系统目录规范
Requriement 要求相关文档
Design 设计
Planning&Log 计划-日志-会议
Help 帮助
Source或者Src 源代码及单元测试
Deployment 发布-部署-public
Test 集成测试-系...
分类:
移动开发 时间:
2015-05-25 22:37:36
阅读次数:
175
Gappu has a very busy weekend ahead of him. Because, next weekend is Halloween, and he is planning to attend as many parties as he can. Since it’s Halloween, these parties are all costume parties, Gapp...
分类:
其他好文 时间:
2015-05-15 17:49:45
阅读次数:
142