贪心
疯狂的橡树
code can change world
展开
-
poj 3040 Allowance(贪心)
Allowance Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 867 Accepted: 383 Description As a reward for record milk production, Farmer John has decided to原创 2013-09-30 09:58:21 · 2396 阅读 · 0 评论 -
poj 2376 Cleaning Shifts(贪心)
Cleaning Shifts Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 9273 Accepted: 2473 Description Farmer John is assigning some of his N (1 <= N <= 25,000) c原创 2014-01-21 15:17:31 · 1282 阅读 · 0 评论 -
spoj 417 The lazy programmer(贪心&优先队列)
SPOJ Problem Set (classical)417. The lazy programmerProblem code: LAZYPROGA new web-design studio, called SMART (Simply Masters of ART), employs two people. The first one is a web-designer and an ex原创 2014-01-21 19:00:03 · 1334 阅读 · 0 评论 -
poj 3262 Protecting the Flowers(贪心)
Protecting the Flowers Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 3528 Accepted: 1442 Description Farmer John went to cut some wood and left N (2 ≤ N原创 2014-01-21 20:35:55 · 1437 阅读 · 0 评论 -
uva 1335 Beijing Guards(贪心)
Beijing Guards Time limit: 3.000 seconds Beijing was once surrounded by four rings of city walls: the Forbidden City Wall, the Imperial City Wall, the Inner City Wall, and finally the Outer City原创 2014-01-21 14:34:49 · 1223 阅读 · 0 评论