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

There are are five things wrong with this sentence; only geniuses will be able to to spot all of the mitstakes

Find the Mistakes

Asked by Neha on 12 Aug 2021


Rectify the following equality 101 - 102 = 1 by moving just one digit.

Mathematical Signs Magic

Asked by Neha on 08 Mar 2021

The teacher told the student that if he told a lie then he will be expelled from school and if he told the truth then he still is expelled from school.

What can a student say to prevent his being expelled from school?

Asked by Neha on 17 Nov 2023


Two men play a dice game involving roll of two standard dice. Man X says that a 12 will be rolled first. Man Y says that two consecutive 7s will be rolled first. The men keep rolling until one of them wins.

What is the probability that X will win ?

Asked by Neha on 13 Apr 2023

Why is 6 afraid of 7?

Asked by Neha on 28 Oct 2024

How many words can a pen with half refill write?

Asked by Neha on 03 Feb 2025


I am the beginning of the end, and the end of time and space. I am essential to creation, and I surround every place. What am I?

Asked by Neha on 23 Mar 2022

What brings you down but never up?

Asked by Neha on 22 Oct 2021

John enters a small room. The Door Closes.
When the door opens, John is in a larger room.

Explain?

Asked by Neha on 14 Mar 2026


A man who was outside in the rain without an umbrella or hat didn’t get a single hair on his head wet. Why?

Asked by Neha on 27 Oct 2021

Hot Articles

Amazing Facts

Gamers

In 2011, people playing Foldit, an online puzzle game about protein folding, resolved the structure of an enzyme that causes an Aids-like disease in monkeys. Researchers had been working on the problem for 13 years. The gamers solved it in three weeks.