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

What four weights can be used to balance from 1 to 30 pounds?

Asked by Neha on 25 Apr 2022


Can you replace the question mark with the correct number in the below table sequence?

Complete the table Sequence

Asked by Neha on 23 Feb 2025

What have one eye but still cannot see?

Asked by Neha on 27 Dec 2025


You need to remove two matchsticks to make the below equation true. Can you do it ?

Equation Correction Riddle

Asked by Neha on 06 Feb 2026

I have an apple tree , number of apple in this tree get doubles every week.

On 30th week , the tree gets completely filled with apples :-)



Can you tell me , on what week does my tree is half covered with apples ?

Asked by Neha on 28 Feb 2021

First, think of the colour of clouds. Next think the colour of snow. Last, think of the colour of the moon. Now, what do cows drink?

Asked by Neha on 28 Apr 2022


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

In the given figure, move three matchsticks so that the resulting figure contains two rectangles.

Matchsticks Rectangles

Asked by Neha on 25 Jul 2024

I have eight fingers and two thumbs but I do not live. What Am I?

Asked by Neha on 21 Mar 2024


How can one talk without saying a single word?

Asked by Neha on 25 Nov 2023

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.