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

A famous swimmer can swim downstream in a lake in exactly 40 minutes with the lake current.
He can swim upstream in that lake in exactly 60 minutes against the lake current.
The length of the lake is 2 km.

How long he can cover the distance of one side at a still lake with no current?

Asked by Neha on 27 Nov 2025


If 5 cats catch 5 mice in 5 minutes, how long will it take one cat to catch a mouse?

Asked by Neha on 22 Mar 2022

How many cubic feet of dirt are in a hole of one foot deep, three feet long, and two feet wide?

Asked by Neha on 13 Feb 2021


what one word does the below rebus identifies?

Read Picture Rebus

Asked by Neha on 15 May 2025

Until it is measured, not known. Yet how you miss it when it has gone. What is it?

Asked by Neha on 30 Jul 2025

I look at you, you look at me, I raise my right, you raise your left. What am I?

Asked by Neha on 17 May 2021


Three brothers Jacob, John, and James live in Mexico City. The product of the ages of these brothers is 175. Jacob and John are twins. How old is James?

Asked by Neha on 02 Sep 2024

How many times can you subtract the number 5 from 25?

Asked by Neha on 05 Oct 2021

The first person saw the bridge step on it and crossed,
the second person saw the bridge did not step on it but crossed,
the third person did not see the bridge did not step on it but crossed.
Who are these people?

Asked by Neha on 14 May 2021


It is a nine-letter word.
The exact opposite of the phrase "friendly and outgoing"
It contains the word "over".
It starts will a vowel.

What is it?

Asked by Neha on 25 Mar 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.