随笔分类 -  CodeForces

摘要:D. Bag of micetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe dragon and the princess are arguing about what to do on the New Year's Eve. The dragon suggests flying to the mountains to watch fairies dancing in the moonlight, while the pri 阅读全文
posted @ 2013-10-29 20:34 码代码的猿猿 阅读(171) 评论(0) 推荐(0)
摘要:B. Two HeapsValera has2·ncubes, each cube contains an integer from10to99. He arbitrarily choosesncubes and puts them in the first heap. The remaining cubes form the second heap.Valera decided to play with cubes. During the game he takes a cube from the first heap and writes down the number it h 阅读全文
posted @ 2013-10-11 11:42 码代码的猿猿 阅读(556) 评论(0) 推荐(0)