2013年2月17日

USACO3.1.2--Score Inflation

摘要: Score InflationThe more points students score in our contests, the happier we here at the USACO are. We try to design our contests so that people can score as many points as possible, and would like your assistance.We have several categories from which problems can be chosen, where a "category& 阅读全文

posted @ 2013-02-17 15:05 仗剑奔走天涯 阅读(243) 评论(0) 推荐(0) 编辑

USACO3.1.6--Stamps

摘要: StampsGiven a set of N stamp values (e.g., {1 cent, 3 cents}) and an upper limit K to the number of stamps that can fit on an envelope, calculate the largest unbroken list of postages from 1 cent to M cents that can be created.For example, consider stamps whose values are limited to 1 cent and 3 cen 阅读全文

posted @ 2013-02-17 13:25 仗剑奔走天涯 阅读(238) 评论(0) 推荐(0) 编辑

导航