随笔分类 -  ShortCode

短码
摘要:THE DRUNK JAILER Time Limit: 1000MS Memory Limit: 10000K Description A certain prison contains a long hall of n cells, each right next to each other. Each cell has a prisoner in it, and each cell is locked. One night, the jailer gets bored and decides to play a game. For round 1 of the game, he takes a drink of whiskey,and then runs down the hall unlocking each cell. For round 2, he takes a drink of whiskey, and then runs down the hall locking every other cell (c 阅读全文
posted @ 2013-03-02 00:14 Cocoon 阅读(448) 评论(0) 推荐(0)