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

One day Jenifer meets the Lion and the Tiger in the Forest of Forgetfulness. She knows that the Lion lies on Mondays, Tuesdays, and Wednesdays, and tells the truth on the other days of the week. The Tiger, on the other hand, lies on Thursdays, Fridays, and Saturdays, but tells the truth on the other days of the week. Now they make the following statements to Jenifer:

Lion: Yesterday was one of my lying days.

Tiger: Yesterday was one of my lying days too.

What day is it?

Asked by Neha on 07 Jan 2021


How many triangles are there on the puzzle below?

Let

Asked by Neha on 10 Feb 2024

What is common among 11, 69, and 88?

What is common here

Asked by Neha on 15 Sep 2023


A Club organizes a Running Race, and John, Jacob, Minda, and Tony participated.

The results are as follows

John beats Jacob
Minda beats Toni
Toni beats John

Who came first in the race?

Asked by Neha on 23 May 2024

On one occasion, A Boy collects 71 rupees in form of 20 paise and 25 paise. He collects a total of 324 coins.

Can you tell me how many 20-paisa and 25-paisa he got?

Asked by Neha on 13 Jul 2024

You are given 2 eggs.
You have access to a 100-storey building.
Eggs can be very hard or very fragile means it may break if dropped from the first floor or may not even break if dropped from 100th floor, Both eggs are identical.
You need to figure out the highest floor of a 100-storey building an egg can be dropped without breaking.
Now the question is how many drops you need to make. You are allowed to break 2 eggs in the process

Asked by Neha on 12 Dec 2025


I get hot but I never sweat,
I cook food but I am not a chef,
I have a door but you can't enter me,
I have a light but I am not a lamp.
Who am I?

Asked by Neha on 15 Feb 2021

What number divided by 4 is the same as that number minus 4?

Asked by Neha on 09 Oct 2025

Can you decipher the below rebus?

PBLUESAISNUERSES

Asked by Neha on 10 Aug 2023


You walk into a room and see a bed. On the bed, there are two dogs, five cats, a giraffe, six cows, and a goose. There are also three doves flying above the bed. How many legs are on the floor?

Asked by Neha on 23 May 2025

Hot Articles

Amazing Facts

Crossword puzzles

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