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 do you go from 98 to 720 using just one letter?

Asked by Neha on 08 Oct 2021


While going to your grandmother's house, you counted Twenty houses on the right side. While returning back to your home, you counted Twenty houses on the left side.

How many houses are there between your home and your grandmother's home?

Asked by Neha on 20 Feb 2024

My location can be determined by the below rebus.
So where am i ?

Find my Location

Asked by Neha on 15 Aug 2021


I went to the bookshop and spent one-half of the money that was in my purse.

When I came out, I found that I had as many cents as I had dollars and half as many dollars as I had cents when I went in. Find the money in my purse when I entered the store.

Asked by Neha on 03 Nov 2024

Role Action
Block Prevents the target player from acting
Redirect Change target player target.
Save Protects the target player from death.
Seer Sees all actions that occurred
Murderer Kills the target player

The following five players are playing:

Andy
Brian
Chris
Daniel
Fred

You are Andy the Seer and you saw the following things:
a) Brian was redirected to Chris.
b) Chris was blocked.
c) Daniel was killed.

Who is the murderer then?

Asked by Neha on 26 Mar 2025

Which of the following words don't belong in the group and why?
CORSET, COSTER, SECTOR, ESCORT, COURTS

Asked by Neha on 16 Oct 2021


What brings you down but never up?

Asked by Neha on 22 Oct 2021

Andrew’s doctor gives him three pills and tells him to take one every half hour. How much time will have passed by the time Andrew’s taken all three pills?

Asked by Neha on 22 Jun 2025

If,

6 / 7 = 2
3 / 9 = 7
8 / 2 = 6

Then

4 / 5 = ?

Asked by Neha on 15 Apr 2025


Okay before we begin with the puzzle, do keep in mind that you have to answer it quickly.

You are participating in a car race. Seeking the perfect moment, you overtake the second person in the race. What positions are you in now?

Asked by Neha on 22 Dec 2025

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.