![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
贪心算法
文章平均质量分 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 · 494 阅读 · 0 评论 -
POJ 2393 Yogurt factory
Yogurt factory Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7306 Accepted: 3743 Description The cows have purchased a yogurt factory that makes world-famous Yucky Yogurt. Over the原创 2015-05-01 16:59:09 · 458 阅读 · 0 评论 -
POJ 1323 Game Prediction
Game Prediction Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 9870 Accepted: 4733 Description Suppose there are M people, including you, playing a special card game. At the beginnin原创 2015-05-01 17:52:54 · 383 阅读 · 0 评论 -
POJ 1700 Crossing River
Crossing River Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 11365 Accepted: 4296 Description A 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 · 462 阅读 · 0 评论 -
POJ 3069 Saruman's Army
Saruman's Army Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 5071 Accepted: 2628 Description Saruman the White must lead his army along a straight path from Isengard to Helm’s Deep.原创 2015-06-03 17:40:15 · 350 阅读 · 0 评论 -
POJ 3253 Fence Repair
Fence Repair Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 30189 Accepted: 9748 Description Farmer John wants to repair a small length of the fence around the pasture. He measures原创 2015-06-03 18:47:59 · 352 阅读 · 0 评论 -
POJ 2376 Cleaning Shifts
Cleaning Shifts Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 12883 Accepted: 3333 Description Farmer John is assigning some of his N (1 <= N <= 25,000) cows to do some cleaning cho原创 2015-06-03 20:27:29 · 467 阅读 · 0 评论 -
POJ 3617
Best Cow Line Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 12792 Accepted: 3707 Description FJ 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 · 388 阅读 · 0 评论 -
POJ 2718 Smallest Difference
Smallest Difference Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 5580 Accepted: 1509 Description Given a number of distinct decimal digits, you can form one integer by choosing a n原创 2015-05-23 17:55:34 · 447 阅读 · 0 评论 -
POJ 3190 Stall Reservations
Stall Reservations Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 3660 Accepted: 1313 Special Judge Description Oh those picky N (1 <= N <= 50,000) cows! They are so picky that each原创 2015-06-10 15:41:37 · 481 阅读 · 0 评论 -
POJ 2393 Yogurt factory
Yogurt factory Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7418 Accepted: 3801 Description The cows have purchased a yogurt factory that makes world-famous Yucky Yogurt. Over the原创 2015-06-10 17:21:36 · 545 阅读 · 0 评论 -
POJ 2431 Expedition
Expedition Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8791 Accepted: 2575 Description A group of cows grabbed a truck and ventured on an expedition deep into the jungle. Being ra原创 2015-07-04 16:34:00 · 415 阅读 · 0 评论 -
POJ 1017 Packets
Packets Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 46895 Accepted: 15868 Description A factory produces products packed in square packets of the same height h and of the sizes 1*原创 2015-06-14 11:23:21 · 377 阅读 · 0 评论 -
POJ 1328 Radar Installation
Radar Installation Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 58677 Accepted: 13205 Description Assume the coasting is an infinite straight line. Land is in one side of coasting,原创 2015-05-01 12:41:30 · 351 阅读 · 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): 3859 Problem Description 时间:2008年5月1原创 2015-04-30 20:36:32 · 422 阅读 · 0 评论 -
HDU 2391 Filthy Rich
Filthy Rich Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2181 Accepted Submission(s): 977 Problem Description They say that in Phryg原创 2015-04-30 21:48:50 · 408 阅读 · 0 评论 -
HDU 题目1051 Wooden Sticks
Wooden Sticks Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 11126 Accepted Submission(s): 4579 Problem Description There is a原创 2014-07-02 21:10:43 · 434 阅读 · 0 评论 -
HDU 题目1052 Tian Ji -- The Horse Racing
Tian Ji -- The Horse Racing Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 18034 Accepted Submission(s): 5232 Problem Description Here原创 2014-07-29 16:39:08 · 312 阅读 · 0 评论 -
HDU 1009 FatMouse' Trade
FatMouse' Trade Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 50683 Accepted Submission(s): 16959 Problem Description FatMouse prepare原创 2015-04-30 18:25:04 · 333 阅读 · 0 评论 -
HDU 1049 Climbing Worm
Climbing Worm Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 13790 Accepted Submission(s): 9340 Problem Description An inch worm is at原创 2015-04-30 19:47:53 · 338 阅读 · 0 评论 -
HDU 1050 Moving Tables
Moving Tables Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 22480 Accepted Submission(s): 7587 Problem Description The famous ACM (Adv原创 2015-04-30 19:50:36 · 334 阅读 · 0 评论 -
HDU 题目1051 Wooden Sticks
Wooden Sticks Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 11581 Accepted Submission(s): 4780 Problem Description There is a pile of原创 2014-07-30 15:16:20 · 374 阅读 · 0 评论 -
HDU 1052Tian Ji -- The Horse Racing
Tian Ji -- The Horse Racing Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 20809 Accepted Submission(s): 6081 Problem Description Here原创 2015-04-30 20:09:24 · 381 阅读 · 0 评论 -
HDU 1257 最少拦截系统
最少拦截系统 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 23798 Accepted Submission(s): 9333 Problem Description 某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统.原创 2015-04-30 20:16:58 · 392 阅读 · 0 评论 -
HDU 1800 Flying to the Mars
Flying to the Mars Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 12656 Accepted Submission(s): 4021 Problem Description In the yea原创 2015-04-30 20:21:48 · 332 阅读 · 0 评论 -
HDU 2037 今年暑假不AC
今年暑假不AC Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 33668 Accepted Submission(s): 17905 Problem Description “今年暑假不AC?” “是的。” “那你干什原创 2015-04-30 20:24:17 · 322 阅读 · 0 评论 -
HDU 2111Saving HDU
Saving HDU Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 6322 Accepted Submission(s): 2920 Problem Description 话说上回讲到海东集团面临内外交困,公司的元老也原创 2015-04-30 20:28:52 · 389 阅读 · 0 评论 -
HDU 2124 Repair the Wall
Repair the Wall Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2484 Accepted Submission(s): 1208 Problem Description Long time ago , Ki原创 2015-04-30 20:31:29 · 356 阅读 · 0 评论 -
poj 1862 Stripies
Stripies Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 13278 Accepted: 6255 Description Our chemical biologists have invented a new very useful form of life called stripies (in fact原创 2015-06-14 19:03:59 · 395 阅读 · 0 评论