随笔分类 - 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
阅读全文

浙公网安备 33010602011771号