贪心
xuelanghu407
纵使前途渺茫,也不能阻止我前进的脚步,怀着无限的热爱,投入到无限的ACM,即使是遍体鳞伤,也无后悔之心,毕竟曾经为着一个理想、目标奋斗过。
展开
-
poj_1042_Gone Fishing
DescriptionJohn is going on a fishing trip. He has h hours available (1 <= h <= 16), and there are n lakes in the area (2 <= n <= 25) all reachable along a single, one-way road. John starts at lake原创 2014-07-16 00:03:14 · 738 阅读 · 2 评论 -
hdu_1052_Tian Ji -- The Horse Racing_贪心
Problem DescriptionHere is a famous story in Chinese history."That was about 2300 years ago. General Tian Ji was a high official in the country Qi. He likes to play horse racing with the king an原创 2014-07-13 20:41:12 · 614 阅读 · 0 评论 -
POJ_1328_Radar Installation
======================================================================================================================================原创 2014-07-11 08:35:13 · 592 阅读 · 0 评论 -
POJ_3190_Stall Reservations
DescriptionOh those picky N (1 <= N <= 50,000) cows! They are so picky that each one will only be milked over some precise time interval A..B (1 <= A <= B <= 1,000,000), which includes both times A原创 2014-07-11 22:54:07 · 652 阅读 · 0 评论