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

How many triangles are there on the puzzle below?

Let

Asked by Neha on 10 Feb 2024


Can you name four days which start with the letter 'T'?

Asked by Neha on 20 Nov 2024

If 5 cats catch 5 mice in 5 minutes, how long will it take one cat to catch a mouse?

Asked by Neha on 22 Mar 2022


In the picture that is attached with this question, you can find a square which comprises of four little squares inside it. Consider this square to be made with matchsticks. You have to remove two matchsticks such that only two squares remain instead of five.How will you do it ?

Make Two Square

Asked by Neha on 14 May 2021

A man calls his dog from the opposite side of a river. The dog crosses the river without a bridge or a boat and manages to not get wet. How is this possible?

Asked by Neha on 06 Sep 2025

Which flower has two lips?

Asked by Neha on 24 Apr 2024


I am sometimes honest
Sometimes dishonest
I can be sweet and also bitter
I can hurt you real bad and
also make u smile and blush ☺️
What am I?

Asked by Neha on 14 May 2021

In a supermarket, there is an intelligent glass pane before a refrigerating unit. This glass pane allows cherries and apples through it but does not allow grapes and Orange to pass through it.

Can you identify the rule that the glass pane is following?

Asked by Neha on 18 Jul 2024

I have nine bottles of wine and one of the nine bottles is poisoned.
I need to find the poisoned bottle with two facts
(1) Poison is deadly, only a sip will cost death
(2) I have two mice to do so.

How should I do it?

Asked by Neha on 25 May 2021


There are three boxes of different sizes with three cupcakes inside each of the boxes in Christina's kitchen. At night her daughter wakes up and goes to the kitchen. She opens a box and eats all three cakes.

But in the morning Christina finds out that each box still had three cupcakes. How?

Asked by Neha on 06 Dec 2024

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.