摘要: GarlandTime Limit:1000MSMemory Limit:10000KTotal Submissions:1236Accepted:547DescriptionThe 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 hangin 阅读全文
posted @ 2014-03-24 20:56 hyx1 阅读(259) 评论(0) 推荐(0) 编辑
摘要: D. Toy Sumtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Chris is very keen on his toy blocks. His teacher, however, wants Chris to solve more problems, so he decided to play a trick on Chris.There are exactlysblocks in Chris's set, ea 阅读全文
posted @ 2014-03-24 00:25 hyx1 阅读(243) 评论(0) 推荐(0) 编辑