摘要: Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 10075Accepted: 6622DescriptionThe road off the east gate of Peking University used to be deco... 阅读全文
posted @ 2015-06-02 16:52 ALXPCUN 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2015-06-02 11:00 ALXPCUN 阅读(352) 评论(0) 推荐(0) 编辑
摘要: DescribeTwo bored soldiers are playing card war. Their card deck consists of exactly n cards, numbered from 1 to n, all values are different. They div... 阅读全文
posted @ 2015-06-02 10:58 ALXPCUN 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2015-06-02 10:55 ALXPCUN 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 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 ... 阅读全文
posted @ 2015-06-02 10:51 ALXPCUN 阅读(203) 评论(0) 推荐(0) 编辑