Prisoners got freed

100 prisoners are stuck in the prison in solitary cells. The warden of the prison got bored one day and offered them a challenge. He will put one prisoner per day, selected at random (a prisoner can be selected more than once), into a special room with a light bulb and a switch which controls the bulb. No other prisoners can see or control the light bulb. The prisoner in the special room can either turn on the bulb, turn off the bulb or do nothing. On any day, the prisoners can stop this process and say "Every prisoner has been in the special room at least once". If that happens to be true, all the prisoners will be set free. If it is false, then all the prisoners will be executed. The prisoners are given some time to discuss and figure out a solution. How do they ensure they all go free?




Similar Riddles

In a town, there are four houses located at different distances from each other. Following are the distances:

The third house is 60 meters apart from the first house.
The fourth house is 40 meters apart from the second house.
The third house is 10 meters nearer to the fourth house than it is to the second house.

Can you find out the distance between the fourth and the first house?

Asked by Neha on 14 Sep 2024


Railroad Crossing, look out for the cars. Can you spell that, without any R's ?

Asked by Neha on 14 May 2021

It comprises roots which nobody sees,
Much taller than those trees,
Up and up it goes,
Still it never grows?

Asked by Neha on 02 Jan 2025


We have four gears with below features=> Both Gear A and D has 60 teeth=> Gear B has 40 teeth=> Gear C has 20 teeth=> Every two minutes, Gear B makes 25 full turns.What is the relative speed of Gear A and Gear B?

Gear Rotation Riddle

Asked by Neha on 21 Aug 2021

I know there are two methods by using three time the same number with a plus(+) operator , you can make sum as 60.

One of them is 20+20+20.

whats the other way ?

Asked by Neha on 28 May 2024

The first two letters signify a male, the first three letters signify a female, the first four letters signify a great, while the entire world signifies a great woman. What is the word?

Asked by Neha on 18 Mar 2025


what does the below rebus mean?

Puzzle Understanding

Asked by Neha on 24 Jan 2026

Out of four images which one is the odd one out?

Odd one out

Asked by Neha on 02 Oct 2023

On a bright sunny day, two fathers took their son fishing in the lake. Each man and son were able to catch one fish. When they returned to their camp, there were only three fishes in the basket. What happened?

PS: None of the fish were eaten, lost, or thrown back.

Asked by Neha on 05 Mar 2023


What is always in front of you but can’t be seen?

Asked by Neha on 10 May 2022

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.