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
题意:维护一个序列,支持区间与一个数取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
如果要想实现观察者模式,则必须依靠Java.util包中提供的Observable类和Observer接口。 class House extends Observable{ // 表示房子可以被观察 private float price ;// 价钱 public House(float pric ...
分类:
其他好文 时间:
2017-04-17 20:58:50
阅读次数:
259
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
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
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
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