摘要: Humble Numbers For a given set of K prime numbers S = {p1, p2,..., pK}, consider the set of all numbers whose prime factors area subset of S. This set contains, for example, p1,p1p2, p1p1, andp1p2p3 (among others). This is the setof `humble numbers' for the input set S. Note: The number 1 is exp 阅读全文
posted @ 2013-02-06 19:42 cssystem 阅读(316) 评论(0) 推荐(0)
摘要: Score InflationThe more points students score in our contests, the happier we hereat the USACO are. We try to design our contests so that people can scoreas many points as possible, and would like your assistance. We have several categories from which problems can be chosen, wherea "category&qu 阅读全文
posted @ 2013-02-06 10:56 cssystem 阅读(234) 评论(0) 推荐(0)
摘要: Agri-NetRuss Cox Farmer John has been elected mayor of his town! One of his campaignpromises was to bring internet connectivity to all farms in the area.He needs your help, of course. Farmer John ordered a high speed connection for his farm and isgoing to share his connectivity with the other farm.. 阅读全文
posted @ 2013-02-06 09:09 cssystem 阅读(342) 评论(0) 推荐(0)

点击右上角即可分享
微信分享提示