贪心算法
文章平均质量分 77
傲慢的么么forever
待到学有所成时,我会找到人生的意义。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
NYOJ 220 推桌子
推桌子时间限制:1000 ms | 内存限制:65535 KB难度:3描述The famous ACM (Advanced Computer Maker) Company has rented a floor of a building whose shape is in the following figure. The floor has 2原创 2014-07-02 18:52:39 · 545 阅读 · 0 评论 -
POJ 2393 Yogurt factory
Yogurt factoryTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 7306 Accepted: 3743DescriptionThe cows have purchased a yogurt factory that makes world-famous Yucky Yogurt. Over the原创 2015-05-01 16:59:09 · 500 阅读 · 0 评论 -
POJ 1323 Game Prediction
Game PredictionTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 9870 Accepted: 4733DescriptionSuppose there are M people, including you, playing a special card game. At the beginnin原创 2015-05-01 17:52:54 · 429 阅读 · 0 评论 -
POJ 1700 Crossing River
Crossing RiverTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 11365 Accepted: 4296DescriptionA group of N people wishes to go across a river with only one boat, which can at most c原创 2015-05-01 11:21:51 · 500 阅读 · 0 评论 -
POJ 3069 Saruman's Army
Saruman's ArmyTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 5071 Accepted: 2628DescriptionSaruman the White must lead his army along a straight path from Isengard to Helm’s Deep.原创 2015-06-03 17:40:15 · 394 阅读 · 0 评论 -
POJ 3253 Fence Repair
Fence RepairTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 30189 Accepted: 9748DescriptionFarmer John wants to repair a small length of the fence around the pasture. He measures原创 2015-06-03 18:47:59 · 393 阅读 · 0 评论 -
POJ 2376 Cleaning Shifts
Cleaning ShiftsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 12883 Accepted: 3333DescriptionFarmer John is assigning some of his N (1 <= N <= 25,000) cows to do some cleaning cho原创 2015-06-03 20:27:29 · 507 阅读 · 0 评论 -
POJ 3617
Best Cow LineTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 12792 Accepted: 3707DescriptionFJ is about to take his N (1 ≤ N ≤ 2,000) cows to the annual"Farmer of the Year" competi原创 2015-06-03 16:16:10 · 432 阅读 · 0 评论 -
POJ 2718 Smallest Difference
Smallest DifferenceTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 5580 Accepted: 1509DescriptionGiven a number of distinct decimal digits, you can form one integer by choosing a n原创 2015-05-23 17:55:34 · 486 阅读 · 0 评论 -
POJ 3190 Stall Reservations
Stall ReservationsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 3660 Accepted: 1313 Special JudgeDescriptionOh those picky N (1 <= N <= 50,000) cows! They are so picky that each原创 2015-06-10 15:41:37 · 543 阅读 · 0 评论 -
POJ 2393 Yogurt factory
Yogurt factoryTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 7418 Accepted: 3801DescriptionThe cows have purchased a yogurt factory that makes world-famous Yucky Yogurt. Over the原创 2015-06-10 17:21:36 · 595 阅读 · 0 评论 -
POJ 2431 Expedition
ExpeditionTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8791 Accepted: 2575DescriptionA group of cows grabbed a truck and ventured on an expedition deep into the jungle. Being ra原创 2015-07-04 16:34:00 · 449 阅读 · 0 评论 -
POJ 1017 Packets
PacketsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 46895 Accepted: 15868DescriptionA factory produces products packed in square packets of the same height h and of the sizes 1*原创 2015-06-14 11:23:21 · 411 阅读 · 0 评论 -
POJ 1328 Radar Installation
Radar InstallationTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 58677 Accepted: 13205DescriptionAssume the coasting is an infinite straight line. Land is in one side of coasting,原创 2015-05-01 12:41:30 · 388 阅读 · 0 评论 -
HDU 2187 悼念512汶川大地震遇难同胞——老人是真饿了
悼念512汶川大地震遇难同胞——老人是真饿了Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 9355 Accepted Submission(s): 3859Problem Description时间:2008年5月1原创 2015-04-30 20:36:32 · 455 阅读 · 0 评论 -
HDU 2391 Filthy Rich
Filthy RichTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2181 Accepted Submission(s): 977Problem DescriptionThey say that in Phryg原创 2015-04-30 21:48:50 · 451 阅读 · 0 评论 -
HDU 题目1051 Wooden Sticks
Wooden SticksTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11126 Accepted Submission(s): 4579Problem DescriptionThere is a原创 2014-07-02 21:10:43 · 482 阅读 · 0 评论 -
HDU 题目1052 Tian Ji -- The Horse Racing
Tian Ji -- The Horse RacingTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 18034 Accepted Submission(s): 5232Problem DescriptionHere原创 2014-07-29 16:39:08 · 351 阅读 · 0 评论 -
HDU 1009 FatMouse' Trade
FatMouse' TradeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 50683 Accepted Submission(s): 16959Problem DescriptionFatMouse prepare原创 2015-04-30 18:25:04 · 365 阅读 · 0 评论 -
HDU 1049 Climbing Worm
Climbing WormTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 13790 Accepted Submission(s): 9340Problem DescriptionAn inch worm is at原创 2015-04-30 19:47:53 · 370 阅读 · 0 评论 -
HDU 1050 Moving Tables
Moving TablesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 22480 Accepted Submission(s): 7587Problem DescriptionThe famous ACM (Adv原创 2015-04-30 19:50:36 · 369 阅读 · 0 评论 -
HDU 题目1051 Wooden Sticks
Wooden SticksTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11581 Accepted Submission(s): 4780Problem DescriptionThere is a pile of原创 2014-07-30 15:16:20 · 408 阅读 · 0 评论 -
HDU 1052Tian Ji -- The Horse Racing
Tian Ji -- The Horse RacingTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 20809 Accepted Submission(s): 6081Problem DescriptionHere原创 2015-04-30 20:09:24 · 413 阅读 · 0 评论 -
HDU 1257 最少拦截系统
最少拦截系统Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 23798 Accepted Submission(s): 9333Problem Description某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统.原创 2015-04-30 20:16:58 · 433 阅读 · 0 评论 -
HDU 1800 Flying to the Mars
Flying to the MarsTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 12656 Accepted Submission(s): 4021Problem DescriptionIn the yea原创 2015-04-30 20:21:48 · 370 阅读 · 0 评论 -
HDU 2037 今年暑假不AC
今年暑假不ACTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 33668 Accepted Submission(s): 17905Problem Description“今年暑假不AC?”“是的。”“那你干什原创 2015-04-30 20:24:17 · 363 阅读 · 0 评论 -
HDU 2111Saving HDU
Saving HDUTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6322 Accepted Submission(s): 2920Problem Description话说上回讲到海东集团面临内外交困,公司的元老也原创 2015-04-30 20:28:52 · 424 阅读 · 0 评论 -
HDU 2124 Repair the Wall
Repair the WallTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2484 Accepted Submission(s): 1208Problem DescriptionLong time ago , Ki原创 2015-04-30 20:31:29 · 384 阅读 · 0 评论 -
poj 1862 Stripies
StripiesTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 13278 Accepted: 6255DescriptionOur chemical biologists have invented a new very useful form of life called stripies (in fact原创 2015-06-14 19:03:59 · 433 阅读 · 0 评论
分享