
HDU
文章平均质量分 86
Jelly_acm
这个作者很懒,什么都没留下…
展开
-
Hdu3363 Ice-sugar Gourd
Ice-sugar GourdTime Limit: 5000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1492 Accepted Submission(s): 471Problem DescriptionIce-sugar g原创 2017-01-16 11:39:58 · 456 阅读 · 0 评论 -
hdu3333 Turing Tree
Turing TreeTime Limit: 6000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4658 Accepted Submission(s): 1640Problem DescriptionAfter inventin原创 2016-09-18 20:53:56 · 357 阅读 · 0 评论 -
Hdu4632 Palindrome subsequence
Palindrome subsequenceProblem DescriptionIn mathematics, a subsequence is a sequence that can be derived from another sequence by deleting some elements without changing the order of the rem原创 2017-01-16 11:14:16 · 512 阅读 · 0 评论 -
hdu2571 命运
命运Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 16889 Accepted Submission(s): 5888Problem Description穿过幽谷意味着离大魔王lemon已经无限接近原创 2016-09-11 16:54:32 · 334 阅读 · 0 评论 -
HDU 1166敌兵布阵
敌兵布阵Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 78575 Accepted Submission(s): 33192Problem DescriptionC国的死对头A国这段时间正在进行军事演原创 2016-09-14 18:58:21 · 316 阅读 · 0 评论 -
hdu1158 Employment Planning
Employment PlanningTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5151 Accepted Submission(s): 2208Problem DescriptionA proj原创 2016-09-11 15:14:43 · 335 阅读 · 0 评论 -
HDU 3455 Leap Frog
Leap FrogTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 676 Accepted Submission(s): 244Problem DescriptionJack and Jill play原创 2016-09-12 16:34:05 · 456 阅读 · 0 评论 -
hdu 2845 Beans
BeansTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4456 Accepted Submission(s): 2105Problem DescriptionBean-eating is an in原创 2016-09-12 17:17:39 · 351 阅读 · 0 评论 -
HDU 1754 I Hate It
I Hate ItTime Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 66267 Accepted Submission(s): 25776Problem Description很多学校流行一种比较的习惯。原创 2016-09-14 19:01:42 · 258 阅读 · 0 评论 -
HDU1349 Minimum Inversion Number
B - Minimum Inversion NumberTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1394DescriptionThe inversion number of a give原创 2016-09-15 13:04:22 · 608 阅读 · 0 评论 -
hdu 5882 Balanced Game
Balanced GameTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 297 Accepted Submission(s): 265Problem DescriptionRock-paper-sci原创 2016-09-21 21:22:15 · 462 阅读 · 0 评论 -
hdu5883 The Best Path
The Best PathTime Limit: 9000/3000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 798 Accepted Submission(s): 332Problem DescriptionAlice is plann原创 2016-09-21 21:31:01 · 466 阅读 · 0 评论 -
HDU2577 How to Type
How to TypeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6211 Accepted Submission(s): 2804Problem DescriptionPirates have f原创 2016-09-11 14:05:17 · 308 阅读 · 0 评论 -
hdu1081 To The Max
To The MaxTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11685 Accepted Submission(s): 5649Problem DescriptionGiven a two-di原创 2016-09-11 10:06:31 · 273 阅读 · 0 评论 -
HDU1426 Sudoku Killer(DFS暴力)
Sudoku KillerProblem Description自从2006年3月10日至11日的首届数独世界锦标赛以后,数独这项游戏越来越受到人们的喜爱和重视。据说,在2008北京奥运会上,会将数独列为一个单独的项目进行比赛,冠军将有可能获得的一份巨大的奖品———HDU免费七日游外加lcy亲笔签名以及同hdu acm team合影留念的机会。所以全球人民前仆后继,为了奖品日夜训练原创 2016-07-24 14:56:40 · 413 阅读 · 0 评论 -
HDU1459 非常可乐(BFS)
非常可乐Problem Description大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这么认为。因为每次当seeyou买了可乐以后,阿牛就要求和seeyou一起分享这一瓶可乐,而且一定要喝的和seeyou一样多。但seeyou的手中只有两个杯子,它们的容量分别是N 毫升和M 毫升 可乐的体积为S (S<101)毫升 (正好装满一瓶) ,它们三个之间可以相互倒可乐原创 2016-07-24 15:00:26 · 715 阅读 · 0 评论 -
HDU1501 Zipper(DFS)
ZipperProblem DescriptionGiven three strings, you are to determine whether the third string can be formed by combining the characters in the first two strings. The first two strings can be mixed a原创 2016-07-24 15:04:59 · 345 阅读 · 0 评论 -
HDU1518 Square(DFS)
SquareProblem DescriptionGiven a set of sticks of various lengths, is it possible to join them end-to-end to form a square?InputThe first line of input contains N, the number of test cases.原创 2016-07-24 15:08:51 · 355 阅读 · 0 评论 -
HDU1372 Knight Moves(BFS)
Knight MovesProblem DescriptionA friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of knight moves that visits each square of a g原创 2016-07-24 14:50:08 · 370 阅读 · 0 评论 -
HDU1258 Sum It Up(DFS)
Sum It UpProblem DescriptionGiven a specified total t and a list of n integers, find all distinct sums using numbers from the list that add up to t. For example, if t=4, n=6, and the list is [4,原创 2016-07-24 14:32:01 · 396 阅读 · 0 评论 -
HDU1254 推箱子(BFS)
推箱子Problem Description推箱子是一个很经典的游戏.今天我们来玩一个简单版本.在一个M*N的房间里有一个箱子和一个搬运工,搬运工的工作就是把箱子推到指定的位置,注意,搬运工只能推箱子而不能拉箱子,因此如果箱子被推到一个角上(如图2)那么箱子就不能再被移动了,如果箱子被推到一面墙上,那么箱子只能沿着墙移动.现在给定房间的结构,箱子的位置,搬运工的位置和箱子要被推去的原创 2016-07-24 14:24:59 · 523 阅读 · 0 评论 -
HDU1065 I Think I Need a Houseboat
I Think I Need a HouseboatProblem DescriptionFred Mapper is considering purchasing some land in Louisiana to build his house on. In the process of investigating the land, he learned that the s原创 2016-07-24 13:59:56 · 410 阅读 · 0 评论 -
HDU1078 FatMouse and Cheese(DFS+DP)
FatMouse and CheeseProblem DescriptionFatMouse has stored some cheese in a city. The city can be considered as a square grid of dimension n: each grid location is labelled (p,q) where 0 <= p原创 2016-07-24 14:05:11 · 363 阅读 · 0 评论 -
HDU1072 Nightmare(BFS)
NightmareProblem DescriptionIgnatius had a nightmare last night. He found himself in a labyrinth with a time bomb on him. The labyrinth has an exit, Ignatius should get out of the labyrinth before原创 2016-07-24 14:02:16 · 327 阅读 · 0 评论 -
HDU2553 N皇后问题
N皇后问题Problem Description在N*N的方格棋盘放置了N个皇后,使得它们不相互攻击(即任意2个皇后不允许处在同一排,同一列,也不允许处在与棋盘边框成45角的斜线上。你的任务是,对于给定的N,求出有多少种合法的放置方法。Input共有若干行,每行一个正整数N≤10,表示棋盘和皇后的数量;如果N=0,表示结束。 Output共有若干行,每行一个正整原创 2016-07-24 13:56:16 · 1224 阅读 · 0 评论 -
HDU2212 DFS
DFSProblem DescriptionA DFS(digital factorial sum) number is found by summing the factorial of every digit of a positive integer.For example ,consider the positive integer 145 = 1!+4!+5!, so原创 2016-07-24 13:52:31 · 537 阅读 · 0 评论 -
HDU1312 Red and Black(DFS)
Red and BlackTime Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 45 Accepted Submission(s) : 34Font: Times New Roman | Verdana | Georgia F原创 2016-07-24 13:49:55 · 348 阅读 · 0 评论 -
HDU1269 迷宫城堡
迷宫城堡Problem Description为了训练小希的方向感,Gardon建立了一座大城堡,里面有N个房间(NInput输入包含多组数据,输入的第一行有两个数:N和M,接下来的M行每行有两个数a和b,表示了一条通道可以从A房间来到B房间。文件最后以两个0结束。Output对于输入的每组数据,如果任意两个房间都是相互连接的,输出"Yes",否则输出"No"。原创 2016-07-24 13:47:09 · 425 阅读 · 0 评论 -
HDU1253 胜利大逃亡(BFS)
胜利大逃亡Problem DescriptionIgnatius被魔王抓走了,有一天魔王出差去了,这可是Ignatius逃亡的好机会.魔王住在一个城堡里,城堡是一个A*B*C的立方体,可以被表示成A个B*C的矩阵,刚开始Ignatius被关在(0,0,0)的位置,离开城堡的门在(A-1,B-1,C-1)的位置,现在知道魔王将在T分钟后回到城堡,Ignatius每分钟能从一个坐标走到原创 2016-07-24 13:41:31 · 475 阅读 · 0 评论 -
HDU1241 Oil Deposits
Oil DepositsProblem DescriptionThe GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time,原创 2016-07-24 13:38:41 · 340 阅读 · 0 评论 -
HDU1237 简单计算器
简单计算器Problem Description读入一个只包含 +, -, *, / 的非负整数计算表达式,计算该表达式的值。Input测试输入包含若干测试用例,每个测试用例占一行,每行不超过200个字符,整数和运算符之间用一个空格分隔。没有非法表达式。当一行中只有0时输入结束,相应的结果不要输出。Output对每个测试用例输出1行,即该表达式的值,精确到小数点后2原创 2016-07-24 13:34:56 · 915 阅读 · 0 评论 -
HDU1181 变形课(DFS)
变形课Problem Description呃......变形课上Harry碰到了一点小麻烦,因为他并不像Hermione那样能够记住所有的咒语而随意的将一个棒球变成刺猬什么的,但是他发现了变形咒语的一个统一规律:如果咒语是以a开头b结尾的一个单词,那么它的作用就恰好是使A物体变成B物体.Harry已经将他所会的所有咒语都列成了一个表,他想让你帮忙计算一下他是否能完成老师的作业,将原创 2016-07-24 13:31:48 · 475 阅读 · 0 评论 -
HDU1175 连连看(bfs)
连连看Problem Description“连连看”相信很多人都玩过。没玩过也没关系,下面我给大家介绍一下游戏规则:在一个棋盘中,放了很多的棋子。如果某两个相同的棋子,可以通过一条线连起来(这条线不能经过其它棋子),而且线的转折次数不超过两次,那么这两个棋子就可以在棋盘上消去。不好意思,由于我以前没有玩过连连看,咨询了同学的意见,连线不能从外面绕过去的,但事实上这是错的。现在已经酿成大祸原创 2016-07-24 13:27:37 · 593 阅读 · 0 评论 -
hdu1171 Big Event in HDU(01背包)
Big Event in HDUTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 34556 Accepted Submission(s): 11986Problem DescriptionNowada原创 2016-05-28 16:32:08 · 334 阅读 · 0 评论 -
hdu3853 LOOPS(概率dp)
LOOPSTime Limit: 15000/5000 MS (Java/Others) Memory Limit: 125536/65536 K (Java/Others)Total Submission(s): 4636 Accepted Submission(s): 1862Problem DescriptionAkemi Homura is a原创 2016-05-26 17:37:40 · 393 阅读 · 0 评论 -
hdu2602 Bone Collector(01背包)
Bone CollectorProblem DescriptionMany years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such as dog’s , cow’s , also原创 2016-05-24 15:37:43 · 317 阅读 · 0 评论 -
hdu1080 Human Gene Functions()
Problem DescriptionIt is原创 2016-05-24 14:43:29 · 427 阅读 · 0 评论 -
hdu1257 最少拦截系统(贪心)
最少拦截系统Problem Description某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统.但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能超过前一发的高度.某天,雷达捕捉到敌国的导弹来袭.由于该系统还在试用阶段,所以只有一套系统,因此有可能不能拦截所有的导弹.怎么办呢?多搞几套系统呗!你说说倒蛮容易,成本呢?成本是个大问原创 2016-05-19 20:28:24 · 436 阅读 · 0 评论 -
hdu1002 A + B Problem II(高精度加法)
A + B Problem IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 308484 Accepted Submission(s): 59635Problem DescriptionI have a原创 2016-05-19 12:00:06 · 539 阅读 · 0 评论 -
Digital Roots—HDU1013
Digital RootsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 67689 Accepted Submission(s): 21144Problem DescriptionThe digita原创 2016-05-06 10:25:42 · 334 阅读 · 0 评论