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

Rahul decided to meet Simran so he boards a local train from Bombay station. Just after the station, there is a 1km long tunnel. The train starts and is now accelerating. Rahul is a claustrophobic guy, so what is the best position for him to sit?

Asked by Neha on 25 Mar 2023


John is found dead in a bare field. Nobody killed John,
John did not commit suicide.

Inspector Jacob found a bag just a few meters away from John which could save his life. What was in the bag?

Asked by Neha on 04 Dec 2025

There are a hundred statements.

First person says: At least one of the statements is false.

Second person says: At least two of the statements is false.

Third person says: At least three of the statements are false.

Fourth person says: At least four of the statements are false.

..

..

..

Hundredth person says: At least a hundred of the statements are false.

Analysing it, how many statements do you think are false and how many are true?

Asked by Neha on 18 Feb 2021


Why are all black people so quick ?

Asked by Neha on 05 Jan 2021

500 women soldiers are arranged in an array of ten rows and fifty columns in accordance with their respective heights. Now, the tallest woman from each row is asked to move out in the front. From them, the shortest one is labelled as Alpha. They are then asked to resume their original position.

Now, the shortest woman in each column is asked to come out in front. The tallest among them is labelled as Beta.

Can you find out if Alpha will be taller or Beta?

Asked by Neha on 16 Sep 2025

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


Using the clues below, what four numbers am I thinking of?

The sum of all the numbers is 31.
One number is odd.
The highest number minus the lowest number is 7.
If you subtract the middle two numbers, it equals two.
There are no duplicate numbers.

Asked by Neha on 06 Jan 2025

What word is pronounced the same if you take away four of its five letters?

Asked by Neha on 20 Oct 2021

How can you make the following equation true by drawing only one straight line: 5+5+5=550 ?

Asked by Neha on 24 Apr 2021


Sally lives in a place where six months of the year is mild summer and the temperature drops significantly the other six months. She owns a lake where there is a small island. She wants to build a house on the island and needs to get materials there. She doesn’t have a boat, plane, or anything to transport them to the island. How does Sally solve this problem?

Asked by Neha on 09 Jun 2025

Hot Articles

Amazing Facts

Crossword puzzles

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