All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars
 perplexus dot info

 Smart prisoners always get a break (Posted on 2002-08-27)
100 prisoners are put into solitary cells. There's a central living room with one light bulb; the bulb is initially off. No prisoner can see the light bulb from his or her own cell. Every day, the warden picks a prisoner at random, and that prisoner goes to the central living room. While there, the prisoner can toggle the bulb if he or she wishes. Also, the prisoner has the option of asserting the claim that all 100 prisoners have been to the living room. If this assertion is false (that is, some prisoners still haven't been to the living room), all 100 prisoners will be shot for their stupidity. However, if it is indeed true, all prisoners are set free and inducted into MENSA, since the world can always use more smart people. Thus, the assertion should only be made if the prisoner is 100% certain of its validity.

The prisoners are allowed to get together one night, to discuss a plan. What plan should they agree on, so that eventually, someone will make a correct assertion?

 Submitted by levik Rating: 4.3636 (11 votes) Solution: (Hide) The prisoners need to designate a "counter" from among themselves. Everyone who is not the counter, upon coming to the living room will turn the light on if The light is currently off, and This is their first time turning on the light The counter, starting with a count of zero, upon coming to the living room, will do the following: If the light is on, he will turn it off, and add one to his count. If the light is off, he will not simply leave without touching the light or changing the count. When the counter's count reaches 99, he knows that 99 other people have been to the living room. Since he has also been there, he can safely announce that all the prisoners have visited the living room.

 Subject Author Date my solution, hope everyone likes it ;-) vivek 2008-06-10 19:36:08 Smart prisoners always get a break 2 axf 2007-02-12 09:47:00 re(3): This seems really easy... Gamer 2007-01-15 14:06:53 re(2): This seems stupidly easy... thegnome54 2006-06-04 16:50:28 re: This seems stupidly easy... Vernon Lewis 2006-02-09 18:03:20 This seems stupidly easy... thegnome54 2006-02-09 16:00:40 No Subject Bryson 2005-12-16 11:02:39 Another solution Rajal 2004-08-04 14:47:56 Possibly ... Lawrence 2003-09-01 10:10:51 Possible solution Dacre 2003-08-29 12:25:18 re: My solution Gamer 2003-06-25 03:14:52 My solution ragnar 2003-01-22 10:41:04 Somthing about dividing the prisoners in half... Matt 2002-08-28 05:35:39 re(4): An impractical solution... TomM 2002-08-28 00:40:38 re(4): An impractical solution... levik 2002-08-27 17:39:41 i know this is wrong Kristina 2002-08-27 15:18:11 re(3): An impractical solution... Jim Lyon 2002-08-27 10:54:44 re(2): An impractical solution... levik 2002-08-27 09:26:28 re(3): An impractical solution... levik 2002-08-27 09:24:57 re: An impractical solution... Jim Lyon 2002-08-27 09:03:29 re(2): An impractical solution... friedlinguini 2002-08-27 08:37:38 re: An impractical solution... levik 2002-08-27 08:27:46 An impractical solution... friedlinguini 2002-08-27 06:15:44

 Search: Search body:
Forums (2)