LIS
console.log( )
吾日三省吾身:这事能不能不干、这事能不能推给别人干、这事能不能明天干。
展开
-
HDU5773:The All-purpose Zero
Problem Description?? gets an sequence S with n intergers(0 < n <= 100000,0<= S[i] <= 1000000).?? has a magic so that he can change 0 to any interger(He does not need to change all 0 to the same i原创 2016-08-15 16:31:53 · 309 阅读 · 0 评论 -
HDU 1257:最少拦截系统
Description某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统.但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能超过前一发的高度.某天,雷达捕捉到敌国的导弹来袭.由于该系统还在试用阶段,所以只有一套系统,因此有可能不能拦截所有的导弹. 怎么办呢?多搞几套系统呗!你说说倒蛮容易,成本呢?成本是个大问题啊.所以俺就到这里来求救了,请帮原创 2016-08-11 20:04:57 · 343 阅读 · 0 评论 -
HDU 1025:Constructing Roads In JGShining's Kingdom
DescriptionJGShining's kingdom consists of 2n(n is no more than 500,000) small cities which are located in two parallel lines. Half of these cities are rich in resource (we call them rich citi原创 2016-08-11 19:46:31 · 282 阅读 · 0 评论 -
HDU1051:Wooden Sticks
Submit StatusDescriptionThere is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a woodworking machine in one by原创 2016-08-11 20:32:31 · 362 阅读 · 0 评论 -
HDU5256: 序列变换
Description我们有一个数列A1,A2...An,你现在要求修改数量最少的元素,使得这个数列严格递增。其中无论是修改前还是修改后,每个元素都必须是整数。 请输出最少需要修改多少个元素。Input第一行输入一个,表示有多少组数据 每一组数据: 第一行输入一个,表示数列的长度 第二行输入N个数。 每一个数列中的元素都是正整原创 2016-08-12 18:04:13 · 1283 阅读 · 1 评论 -
HDU4521:小明系列问题——小明序列
Description 大家都知道小明最喜欢研究跟序列有关的问题了,可是也就因为这样,小明几乎已经玩遍各种序列问题了。可怜的小明苦苦地在各大网站上寻找着新的序列问题,可是找来找去都是自己早已研究过的序列。小明想既然找不到,那就自己来发明一个新的序列问题吧!小明想啊想,终于想出了一个新的序列问题,他欣喜若狂,因为是自己想出来的,于是将其新序列问题命名为“小明序列”。 提起小明序原创 2016-08-12 20:57:52 · 335 阅读 · 0 评论 -
HDU5748:bellovin
DescriptionThere is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a woodworking machine in one by one fashion. It needs som原创 2016-08-13 09:36:43 · 505 阅读 · 0 评论 -
HDU1950:Bridging signals
Description'Oh no, they've done it again', cries the chief designer at the Waferland chip factory. Once more the routing designers have screwed up completely, making the signals on the chip connec原创 2016-08-12 17:44:20 · 424 阅读 · 0 评论