News for hackers. Stuff that matters.
Re:Prison Switcharoo by ironmagma on Sunday February 23, 2014 @03:09PM (#7287352)
Doesn't this solution make the assumption that the guard will continue to pick prisoners to enter the switchroom indefinitely? If he picked P1, P2, P1, P2, Counter, Counter, <end> would the solution still work?
Re:Prison Switcharoo by vanschelven on Sunday February 23, 2014 @04:41PM (#7287729)
This assumption is part of the original puzzle: "After today, from time to time whenever I feel so inclined, I will select one prisoner at random and escort him to the switch room."