Prisoner to be freed

The warden meets with 23 new prisoners when they arrive. He tells them, "You may meet today and plan a strategy. But after today, you will be in isolated cells and will have no communication with one another.

"In the prison is a switch room, which contains two light switches labeled 1 and 2, each of which can be in either up or the down position. I am not telling you their present positions. The switches are not connected to anything.

"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. This prisoner will select one of the two switches and reverse its position. He must flip one switch when he visits the switch room, and may only flip one of the switches. Then he'll be led back to his cell.

"No one else will be allowed to alter the switches until I lead the next prisoner into the switch room. I'm going to choose prisoners at random. I may choose the same guy three times in a row, or I may jump around and come back. I will not touch the switches, if I wanted you dead you would already be dead.

"Given enough time, everyone will eventually visit the switch room the same number of times as everyone else. At any time, anyone may declare to me, 'We have all visited the switch room.'

"If it is true, then you will all be set free. If it is false, and somebody has not yet visited the switch room, you will all die horribly. You will be carefully monitored, and any attempt to break any of these rules will result in instant death to all of you"

What is the strategy they come up with so that they can be free?




Similar Riddles

In one of the popular batman series movie "Batman Forever", there was a riddle that goes like "Tear me off and then scratch my head and I was red then and now I am back. Who am I?

Scratch the head

Asked by Neha on 28 Mar 2021


Pronounced as one letter,
And written with three,
Two letters there are,
And two only in me.
I am double, I am single,
I am black blue and grey,
I am read from both ends,
And the same either way.

Asked by Neha on 01 Oct 2024

A newspaper is supposed to have 60 pages.Pages 14 and 21 are missing from the newspaper.

Can you tell me , Which other pages won't be there as well ?

Asked by Neha on 07 Feb 2023


James ordered a fishing rod, priced at $3.56. Unfortunately, James is an Eskimo who lives in a very remote part of Greenland and the import rules forbid any package longer than 4 feet to be imported. The fishing rod was 4 feet and 1 inch, just a little too long, so how can the fishing rod be mailed to James without breaking the rules? Ideally James would like the fishing rod to arrive in one piece!

Asked by Neha on 11 Apr 2022

One day, Birbal got late for a function and Akbar was highly disappointed.
Please forgive me Jahanpanah. I arrived late because my child was crying and I had to calm him down, explained Birbal.
Does it take this long to placate a child? questioned the emperor. I feel that you have no idea about how to raise a child. I order you to act like a child and I will act like your father to show you how you should have dealt with your child. Come on! Ask me all that he asked from you.
Father, I want a cow, said Birbal.
The emperor quickly ordered one of the servants to bring a cow to the kingdom.
I want to drink its milk, now, now, now! said Birbal, imitating the voice of his child.
Akbar asked his servants to milk the cow and give to Birbal.
The servants quickly milked the cow and offered the milk to Birbal. He sipped in a little and then gave the bowl to the emperor.
As Birbal put up the next demand that was put up by his child a few hours ago, the emperor was stunned and left the room.
What did Birbal say?

Asked by Neha on 17 May 2021

The day before yesterday I was 25 and the next year I will be 28. This is true only one day in a year. What day is my birthday?

Asked by Neha on 07 Dec 2025


What's the next in the series?

H, Be, F, S, Mn, Kr, In, Gd, Tl, ?

Asked by Neha on 17 Oct 2023

A boy was locked in a room by some robbers. All that is in the room is a piano, a calendar, and a bed. The room is locked from the outside. What does he eat, drink, and how does he escape and get out?

Asked by Neha on 08 Dec 2024

Who is generally closer to the kids, mom or dad?

(it's a funny riddle)

Asked by Neha on 28 Jul 2023


Why are televisions attracted to people?

Asked by Neha on 14 Jan 2024

Hot Articles

Amazing Facts

Crossword puzzles

In the 1920s, people feared that crossword puzzles would contribute to illiteracy.