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

There was a man he lives in a hotel each morning he presses the first floor button each evening if there is a person in the elevator he asks him to press the 10 floor button if there is no one in the elevator he takes the stairs why.

Asked by Neha on 17 Mar 2022


I know a country, If you remove the last alphabet of its name, it will become a part of your body. Do you name it?

Asked by Neha on 26 Jan 2021

What's the next in the series?

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

Asked by Neha on 17 Oct 2023


When it's bad luck to meet a black cat?

Asked by Neha on 01 Mar 2025

The pound is not a finish.

We are sharing a few instructions below, which you have to use in any suitable order to modify the above sentence such that the end sentence is a scientific fact.

- Eliminate a letter and supplement another in its place.
- Take away one word.
- Remove one letter from one word.
- Get rid of two letters from one word.
- Swap a word with its antonym.

Asked by Neha on 03 May 2025

Can you discover the missing number in this series?

37, 10, 82
29, 11, 47
96, 15, 87
42, ?, 15

Asked by Neha on 14 Nov 2024


In a school, there are four subjects. Seventy percent of students study English, seventy five percent of students study Science, eighty five percent of students study Mathematics and eighty percent of students study Spanish.

Can you calculate the percentage of students that study all four subjects?

Asked by Neha on 16 Apr 2023

what does the below math rebus puzzle mean?

Find the Rebus Meaning

Asked by Neha on 13 Nov 2023

I am the beginning of everything, the end of everywhere. I'm the beginning of eternity, the end of time and space. What am I?

Asked by Neha on 21 Mar 2025


There are two candles. Both will only burn exactly for an hour. How will you use these two candles to measure forty-five minutes?

Asked by Neha on 07 May 2024

Hot Articles

Amazing Facts

Rubik’s Cube

The inventor of the Rubik’s Cube didn’t realize he’d built a puzzle until he scrambled it the first time and tried to restore it.