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

The horse jumps over the king.
Strangely there is absolutely no scratch on him.

Can anyone explain, how is this possible?

Asked by Neha on 06 Mar 2023


How can you take 2 from 5 and leave 4?

Asked by Neha on 03 Apr 2022

Can you find out who is the kidnapper in below Picture and why, Explain ?

Catch the Kidnapper

Asked by Neha on 17 May 2021


"That Restaurant always remains crowded. This is the reason why nobody goes there".

Can you find a flaw in this statement?

Asked by Neha on 06 Apr 2024

Four children having five rocks each were playing a game in which they had to throw the rock at a particular solid area in the water. Child 1- Succeeded in throwing three rocks at a solid area but one of the rocks sunk. Child 3 - His aim was so bad that all rocks got sunk. Child 4- He was awesome and none of the rocks got sunk. Child 2 - Was the winner but was struck by a rock in the head and died. Who killed Child 2?

Asked by Neha on 21 Oct 2024

Can you make numbers like 24, using numbers 3,3,7 & 7 with any arithmetic operator?

Asked by Neha on 25 Feb 2023


John has played 50 ODI's and his average is 50. How many runs should he score in his 51st ODI, so that his average score jumps to 51?

Asked by Neha on 24 Nov 2025

Can you solve this amazing hard number series problem?
7, 8, 10, 12, 16, 18 ?

Asked by Neha on 18 Apr 2024

Make a sentence consisting of three words that have the whole alphabet.

Asked by Neha on 11 Dec 2025


I am a number I am not an odd number I am higher than 90 I am not higher than 100 If you subtract me from 100, you get nothing. What number am I?

Asked by Neha on 21 Feb 2022

Hot Articles

Amazing Facts

Gambling

In Canada, a mathematical puzzle must be solved in order to win the lottery to classify it as a “game of skill” not gambling.