码迷,mamicode.com
首页 >  
搜索关键字:house robber    ( 848个结果
Robberies HDU - 2955
The 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 they become t ...
分类:其他好文   时间:2017-05-06 19:04:05    阅读次数:177
[HDU5306]Gorgeous Sequence(标记回收线段树)
题意:维护一个序列,支持区间与一个数取min,询问区间最大,询问区间和(序列长度<=1e6) 分析: http://www.shuizilong.com/house/archives/hdu-5306-gorgeous-sequence/?variant=zh-cn 在建树的时候,就已经生成了laz ...
分类:其他好文   时间:2017-05-01 19:01:38    阅读次数:197
第七讲:建造者模式
Product:House Builder:HouseBuilder(工程队) ConcreteBuilder:PingFangBuilder、GongyuBuilder Director:组合的模式,包含Builder,包含工程队,由Director来指使工程队做事.组合不是聚合,Director ...
分类:其他好文   时间:2017-04-25 10:17:52    阅读次数:142
几个比较大的暗网黑市
Alphabay Dream Market Valhalla (Silkkitie) Hansa Market Outlaw Market Python Market Acropolis Market Silk Road 3.0 Tochka House Of Lions Zocalo Market ...
分类:其他好文   时间:2017-04-17 22:15:57    阅读次数:2010
观察者设计模式( Observable类Observer接口)
如果要想实现观察者模式,则必须依靠Java.util包中提供的Observable类和Observer接口。 class House extends Observable{ // 表示房子可以被观察 private float price ;// 价钱 public House(float pric ...
分类:其他好文   时间:2017-04-17 20:58:50    阅读次数:259
Codeforces Round #408 (Div. 2)ABCD
A. Buying A House 分别向左右枚举,找到符合题意的点,输出最短的长度*10。 #include <bits/stdc++.h> using namespace std; int n, k, s, a[105]; int main() { scanf("%d%d%d", &n, &s, ...
分类:其他好文   时间:2017-04-13 19:59:57    阅读次数:247
01背包 基础
The 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 they become t ...
分类:其他好文   时间:2017-04-13 13:42:36    阅读次数:233
leetcode 213. House Robber II 抢劫房子II---------- java
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 tha ...
分类:编程语言   时间:2017-03-28 23:49:08    阅读次数:269
leetcode 198. House Robber 求抢劫的最大金额 ---------- java
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 ...
分类:编程语言   时间:2017-03-24 13:15:03    阅读次数:171
848条   上一页 1 ... 28 29 30 31 32 ... 85 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!