---- HDU ----
文章平均质量分 87
叶孤心丶
这个作者很懒,什么都没留下…
展开
-
hdu 1498 50 years, 50 colors( 二分图最大匹配)
On Octorber 21st, HDU 50-year-celebration, 50-color balloons floating around the campus, it's so nice, isn't it? To celebrate this meaningful day, the ACM team of HDU hold some fuuny games. Especially原创 2014-08-21 21:28:58 · 442 阅读 · 0 评论 -
HDU 3790 最短路径问题
最短路径问题Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 3790Description给你n个点,m条无向边,每条边都有长度d和花费p,给你起点s终点t,要求输出起点到终点的最短距离及其花费,如原创 2014-08-25 21:10:45 · 516 阅读 · 0 评论 -
HDU 1698 Just a Hook
Just a HookTime Limit:2000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1698DescriptionIn the game of DotA, Pudge’s meat hook is actuall原创 2014-08-25 20:38:00 · 481 阅读 · 0 评论 -
HDU 1505 UVALive 3029 City Game
City GameTime Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmit Status Practice UVALive 3029DescriptionBob is a strategy game programming specialist. In h原创 2014-08-25 20:41:40 · 544 阅读 · 0 评论 -
HDU 1166 敌兵布阵
敌兵布阵Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1166DescriptionC国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿原创 2014-08-25 20:28:24 · 542 阅读 · 0 评论 -
HDU 1151 Air Raid(二分图最大匹配)
Consider a town where all the streets are one-way and each street leads from one intersection to another. It is also known that starting from an intersection and walking through town's streets you can原创 2014-08-21 21:27:58 · 617 阅读 · 0 评论 -
HDU 1068 Girls and Boys(二分图最大匹配)
the second year of the university somebody started a study on the romantic relations between the students. The relation “romantically involved” is defined between one girl and one boy. For the study r原创 2014-08-21 21:25:43 · 518 阅读 · 0 评论 -
HDU 1181 变形记 (BFS)
搜索Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription呃......变形课上Harry碰到了一点小麻烦,因为他并不像Hermione那样能够记住所有的咒语而随意的将一个棒球变成刺猬什么的,但是他发现了变形咒语的原创 2014-08-21 21:17:15 · 498 阅读 · 0 评论 -
HDU 1710 Binary Tree Traversals
B - Binary Tree TraversalsTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionA binary tree is a finite set of vertices that is eith原创 2014-07-31 19:42:49 · 570 阅读 · 0 评论 -
HDU 1035 Robot Motion
Robot MotionTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 10221 Accepted: 4978DescriptionA robot has been programmed to follow the instructions in原创 2014-06-17 19:22:55 · 467 阅读 · 0 评论 -
HDU 2159 FATE(二维背包)
FATETime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription最近xhd正在玩一款叫做FATE的游戏,为了得到极品装备,xhd在不停的杀怪做任务。久而久之xhd开始对杀怪产生的厌恶感,但又不得不通过杀怪来升完这原创 2014-08-27 21:03:17 · 409 阅读 · 0 评论 -
HDOJ 1171 Big Event in HDU(多重背包)
Big Event in HDUTime Limit:5000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionNowadays, we all know that Computer College is the biggest depar原创 2014-08-27 20:59:54 · 570 阅读 · 0 评论 -
HDU 2094 产生冠军
产生冠军Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 2094Description有一群人,打乒乓球比赛,两两捉对撕杀,每两个人之间最多打一场比赛。球赛的规则如下:如果A打败了B,B又打原创 2014-08-25 21:13:54 · 503 阅读 · 0 评论 -
HDU 1285 确定比赛名次
确定比赛名次Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1285Description有N个比赛队(1 Input输入有若干组,每组中的第一行为二个数N(1原创 2014-08-25 21:10:53 · 449 阅读 · 0 评论 -
HDU 2066 一个人的旅行
一个人的旅行Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 2066Description虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅行,因为在旅途原创 2014-08-25 21:08:10 · 524 阅读 · 0 评论 -
HDU 2603 过山车(二分图最大匹配)
RPG girls今天和大家一起去游乐场玩,终于可以坐上梦寐以求的过山车了。可是,过山车的每一排只有两个座位,而且还有条不成文的规矩,就是每个女生必须找个个男生做partner和她同坐。但是,每个女孩都有各自的想法,举个例子把,Rabbit只愿意和XHD或PQK做partner,Grass只愿意和linle或LL做partner,PrincessSnow愿意和水域浪子或伪酷儿做partner。考虑原创 2014-08-21 21:30:36 · 660 阅读 · 0 评论 -
HDU 3549 Flow Problem
Flow ProblemTime Limit:5000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionNetwork flow is a well-known difficult problem for ACMers. Given a g原创 2014-08-21 21:25:33 · 380 阅读 · 0 评论 -
HDU 2035 人见人爱A^B
B - 人见人爱A^BTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription求A^B的最后三位数表示的整数。 说明:A^B的含义是“A的B次方” Input输入数据包含多个原创 2014-08-07 19:52:07 · 384 阅读 · 0 评论 -
HDU 2736 Surprising Strings
C - Surprising StringsTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 3096DescriptionThe D-pairs of a string of letters a原创 2014-08-07 20:04:00 · 491 阅读 · 0 评论 -
HDU 3466 Proud Merchants
Proud MerchantsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 2597 Accepted Submission(s): 1071Problem DescriptionRecently,原创 2014-08-25 20:21:01 · 407 阅读 · 0 评论 -
HDU 1272 (并查集)
D - 并查集Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。但是她设计迷宫的思路不一样,首先她认为所原创 2014-08-21 21:13:38 · 455 阅读 · 0 评论 -
HDU 2160母猪的故事
B - 背包Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription话说现在猪肉价格这么贵,著名的ACBoy 0068 也开始了养猪生活。说来也奇怪,他养的猪一出生第二天开始就能每天中午生一只小猪,而且生下来的竟然都原创 2014-08-21 21:10:05 · 1822 阅读 · 0 评论 -
HDU 1869 六度分离
六度分离Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1869Description1967年,美国著名的社会学家斯坦利・米尔格兰姆提出了一个名为“小世界现象(small world phenomen原创 2014-08-25 21:07:03 · 1025 阅读 · 0 评论 -
HDU 1086 You can Solve a Geometry Problem too
ATime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1086DescriptionMany geometry(几何)problems were designed in the ACM/ICPC. And原创 2014-08-25 20:48:26 · 421 阅读 · 0 评论 -
HDU 1754 I Hate It
I Hate ItTime Limit:3000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1754Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。 这让很多学生很原创 2014-08-25 20:32:36 · 393 阅读 · 0 评论 -
HDU 1248 寒冰王座(完全背包)
寒冰王座Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription不死族的巫妖王发工资拉,死亡骑士拿到一张N元的钞票(记住,只有一张钞票),为了防止自己在战斗中频繁的死掉,他决定给自己买一些道具,于是他来到了地精商店前原创 2014-08-27 21:10:28 · 501 阅读 · 0 评论 -
HDU 4508 湫湫系列故事――减肥记I(完全背包)
湫湫系列故事――减肥记ITime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription 对于吃货来说,过年最幸福的事就是吃了,没有之一! 但是对于女生来说,卡路里(热量)是天敌啊! 资深美女湫湫深谙“胖来如山原创 2014-08-27 21:08:34 · 519 阅读 · 0 评论 -
HDU3339 In Action(最短路+01背包)
In ActionTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4189 Accepted Submission(s): 1341Problem DescriptionSince 1945, when t原创 2014-09-23 20:33:27 · 1811 阅读 · 0 评论 -
HDU 2149 Public Sale(博弈论原理)
Public SaleTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4332 Accepted Submission(s): 2631Problem Description虽然不想,但是现实总归是现实原创 2014-09-15 16:38:28 · 549 阅读 · 0 评论 -
HDU 1846 Brave Game(博弈论)
Brave GameTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6721 Accepted Submission(s): 4515Problem Description十年前读大学的时候,中国每年都原创 2014-09-15 16:47:27 · 612 阅读 · 0 评论 -
HDU 2147 kiki's game(博弈论)
kiki's gameTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 40000/1000 K (Java/Others)Total Submission(s): 6788 Accepted Submission(s): 4054Problem DescriptionRecently kiki h原创 2014-09-15 17:05:46 · 698 阅读 · 0 评论 -
HD3863 No Gambling
No GamblingTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65568/32768 K (Java/Others)Total Submission(s): 1321 Accepted Submission(s): 924Problem DescriptionOne day, Flyvan原创 2014-09-15 21:26:13 · 821 阅读 · 0 评论 -
HDU 1527 取石子游戏(博弈论)
取石子游戏Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3717 Accepted Submission(s): 1868Problem Description有两堆石子,数量任意,可以不同。游戏开始原创 2014-09-16 17:42:34 · 786 阅读 · 0 评论 -
HDU1873 看病要排队
E - 看病要排队Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription看病要排队这个是地球人都知道的常识。不过经过细心的0068的观察,他发现了医院里排队还是有讲究的。0068所去的医院有三个医生(汗,这么少原创 2014-11-15 17:20:22 · 1517 阅读 · 0 评论 -
CodeForces 34C Page Numbers
Page NumbersTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 34CDescription«Bersoft» company is working on a new ver原创 2014-11-15 22:09:27 · 875 阅读 · 0 评论 -
HDU1710 Binary Tree Traversals
A binary tree is a finite set of vertices that is either empty or consists of a root r and two disjoint binary trees called the left and right subtrees. There are three most important ways in which th原创 2014-11-15 17:32:22 · 869 阅读 · 0 评论 -
HDU 2352 Verdis Quo(模拟)
H - Verdis Quo HDU 2352Time Limit: 1000 MS Memory Limit: 32768 KB64-bit integer IO format: %I64d , %I64u Java class name: Main[Submit] [Status]DescriptionThe Romans used letter原创 2015-02-06 19:53:36 · 705 阅读 · 0 评论 -
HDU 5099 Comparison of Android versions(坑水题)
C - Comparison of Android versions HDU 5099Time Limit: 1000 MS Memory Limit: 32768 KB64-bit integer IO format: %I64d , %I64u Java class name: Main[Submit] [Status]DescriptionAs原创 2015-02-06 19:46:51 · 964 阅读 · 0 评论 -
HDU 1849 Rabbit and Grass(尼姆博弈)
Rabbit and GrassTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2592 Accepted Submission(s): 1937Problem Description大学时光是浪漫的,原创 2015-03-17 20:56:30 · 550 阅读 · 0 评论 -
HDU 5011 Game(尼姆博弈)
GameTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 662 Accepted Submission(s): 454Problem DescriptionHere is a game for two原创 2015-03-17 20:59:42 · 659 阅读 · 0 评论