摘要: DescriptionIn a certain course, you takentests. If you getaiout ofbiquestions correct on testi, your cumulative average is defined to be.Given your test scores and a positive integerk, determine how high you can make your cumulative average if you are allowed to drop anykof your test scores.Suppose 阅读全文
posted @ 2012-02-20 21:48 Chnwy 阅读(238) 评论(0) 推荐(0) 编辑
摘要: DescriptionThe New Year garland consists of N lamps attached to a common wire that hangs down on the ends to which outermost lamps are affixed. The wire sags under the weight of lamp in a particular way: each lamp is hanging at the height that is 1 millimeter lower than the average height of the two 阅读全文
posted @ 2012-02-20 16:14 Chnwy 阅读(302) 评论(0) 推荐(0) 编辑