摘要: Problem DescriptionRailway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue…The Lunar New Year was approaching, but unluckily the Little Cat still had schedules going here and there. Now, he had to travel by train to Mianyang, Sichuan Pr 阅读全文
posted @ 2013-12-22 14:49 persistent codeants 阅读(192) 评论(0) 推荐(0)
摘要: Problem DescriptionNchildren are sitting in a circle to play a game.The children are numbered from 1 toNin clockwise order. Each of them has a card with a non-zero integer on it in his/her hand. The game starts from theK-th child, who tells all the others the integer on his card and jumps out of the 阅读全文
posted @ 2013-12-22 11:17 persistent codeants 阅读(191) 评论(0) 推荐(0)