Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm a bit sleepy, but I can't get this to work. For 3 prisoners, what if the sequence is (P1 T P1 T P1 T P1 T P2 P2 P2 P2)? Where T is the tally keeper. They've all gone the same number of times (given enough time), but the tally keeper would declare that they had all flipped a switch before P2 had gone in at all. Thus, alligators.

Did I miss something?



Each person will only toggle A to the 'on' state twice.


ah, yes. It even says it right there in the article. Thanks!


The prisoners will only turn on switch A twice. After that they will leave it, and rather toggle the B switch.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: