摘要:
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 阅读全文
摘要:
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 阅读全文