随笔分类 - CF
摘要:DescribeTwo soldiers are playing a game. At the beginning first of them chooses a positive integer n and gives it to the second soldier. Then the seco...
阅读全文
摘要:DescribeColonel has n badges. He wants to give one badge to every of his n soldiers. Each badge has a coolness factor, which shows how much it's owner...
阅读全文
摘要:DescripeA soldier wants to buy w bananas in the shop. He has to pay k dollars for the first banana, 2k dollars for the second one and so on (in other ...
阅读全文
摘要:DescripeMike and some bears are playing a game just for fun. Mike is the judge. All bears except Mike are standing in an n × m grid, there's exactly o...
阅读全文
摘要:DescripeWhile Mike was walking in the subway, all the stuff in his back-bag dropped on the ground. There were several fax messages among them. He conc...
阅读全文