上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 20 下一页
摘要: Description Nowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular in HDU. Maybe you are a good boy, and know little 阅读全文
posted @ 2016-12-29 13:57 Asimple 阅读(218) 评论(0) 推荐(0)
摘要: Description A histogram is a polygon composed of a sequence of rectangles aligned at a common base line. The rectangles have equal widths but may have 阅读全文
posted @ 2016-12-29 13:52 Asimple 阅读(192) 评论(0) 推荐(0)
摘要: Description 给定K个整数的序列{ N1, N2, ..., NK },其任意连续子序列可表示为{ Ni, Ni+1, ..., Nj },其中 1 <= i <= j <= K。最大连续子序列是所有连续子序列中元素和最大的一个, 例如给定序列{ -2, 11, -4, 13, -5, - 阅读全文
posted @ 2016-12-28 16:14 Asimple 阅读(227) 评论(0) 推荐(0)
摘要: 做DP一定要注意数组的大小,嗯,就是这样~ Description 现有一笔经费可以报销一定额度的发票。允许报销的发票类型包括买图书(A类)、文具(B类)、差旅(C类),要求每张发票的总额不得超过1000元,每张发票上,单项物品的价值不得超过600元。现请你编写程序,在给出的一堆发票中找出可以报销的 阅读全文
posted @ 2016-12-28 14:51 Asimple 阅读(302) 评论(0) 推荐(0)
摘要: 打算专题训练下DP,做一道帖一道吧~~现在的代码风格完全变了~~大概是懒了。所以。将就着看吧~哈哈 Description The aspiring Roy the Robber has seen a lot of American movies, and knows that the bad gu 阅读全文
posted @ 2016-12-27 17:59 Asimple 阅读(234) 评论(0) 推荐(0)
摘要: 这个本来应该是在大一就掌握的算法,硬生生被我拖到现在。。。 匈牙利算法是用来求二分图的最大匹配的一种比较简单的算法,最核心的东西就是找增广路径。详情:http://blog.csdn.net/acdreamers/article/details/8621130 记住一些常见的结论: (1)二分图的最 阅读全文
posted @ 2016-12-21 20:54 Asimple 阅读(883) 评论(0) 推荐(0)
摘要: Description Ignatius had a nightmare last night. He found himself in a labyrinth with a time bomb on him. The labyrinth has an exit, Ignatius should g 阅读全文
posted @ 2016-12-14 21:02 Asimple 阅读(224) 评论(0) 推荐(0)
摘要: Description The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, and the do 阅读全文
posted @ 2016-12-13 21:50 Asimple 阅读(198) 评论(0) 推荐(0)
摘要: Description On Planet MM-21, after their Olympic games this year, curling is getting popular. But the rules are somewhat different from ours. The game 阅读全文
posted @ 2016-12-08 15:24 Asimple 阅读(543) 评论(0) 推荐(0)
摘要: Description While exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar because it is a one- 阅读全文
posted @ 2016-12-06 14:47 Asimple 阅读(229) 评论(0) 推荐(0)
摘要: Description 都说天上不会掉馅饼,但有一天gameboy正走在回家的小径上,忽然天上掉下大把大把的馅饼。说来gameboy的人品实在是太好了,这馅饼别处都不掉,就掉落在他身旁的10米范围内。馅饼如果掉在了地上当然就不能吃了,所以gameboy马上卸下身上的背包去接。但由于小径两侧都不能站人 阅读全文
posted @ 2016-11-27 21:51 Asimple 阅读(448) 评论(0) 推荐(0)
摘要: 先吐槽一句!九度关了!!!!!!!!我的账号密码竟然不对了。。。。 Description 某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统.但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能超过前一发的高度.某天,雷达捕捉到敌国的导弹来袭.由于该系统还 阅读全文
posted @ 2016-11-15 22:18 Asimple 阅读(640) 评论(0) 推荐(0)
摘要: 时间限制:1 秒 内存限制:32 兆 特殊判题:否 提交:1947 解决:377 时间限制:1 秒 内存限制:32 兆 特殊判题:否 提交:1947 解决:377 给你一串路径,譬如: a\b\c a\d\e b\cst d\ 你把这些路径中蕴含的目录结构给画出来,子目录直接列在父目录下面,并比父目 阅读全文
posted @ 2016-10-24 20:41 Asimple 阅读(294) 评论(0) 推荐(0)
摘要: 时间限制:1 秒 内存限制:32 兆 特殊判题:否 提交:3452 解决:1892 时间限制:1 秒 内存限制:32 兆 特殊判题:否 提交:3452 解决:1892 12翻一下是21,34翻一下是43,12+34是46,46翻一下是64,现在又任意两个正整数,问他们两个数反转的和是否等于两个数的和 阅读全文
posted @ 2016-10-23 19:29 Asimple 阅读(632) 评论(0) 推荐(0)
摘要: 时间限制:1 秒 内存限制:32 兆 特殊判题:否 提交:2720 解决:1099 时间限制:1 秒 内存限制:32 兆 特殊判题:否 提交:2720 解决:1099 一个整数总可以拆分为2的幂的和,例如: 7=1+2+4 7=1+2+2+2 7=1+1+1+4 7=1+1+1+2+2 7=1+1+ 阅读全文
posted @ 2016-10-15 21:24 Asimple 阅读(320) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 20 下一页