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

If Japan and Panama decided to merge into a single country, probably people will name it Japanama.

Can you think of two more such country's unions that could produce similar names like Japanama by overlapping their three letters?

Asked by Neha on 08 Sep 2024


Which statement is true out of the following?
One statement here is false.
Two statements here are false.
Three statements here are false.

Asked by Neha on 21 Feb 2026

In two decks of cards, what is the least amount of cards you must take to be *guaranteed* at least one four-of-a-kind?

Asked by Neha on 11 Nov 2025


Which city is three-fifths chick two third cat and 50% goat?

Asked by Neha on 25 Jan 2024

Can you find the odd one out from the below words ?

First Second Third Forth Fifth Sixth Seventh, Eighth Nine Ten Eleven Twelve.

Asked by Neha on 14 Apr 2023

A journalist was investigating a sacred cult in the jungles of Africa when he was caught by one of the person. He was confined in a cave till the leader arrived. The leader told him that he need to tell him a statement. If he thinks the statement is true, then the journalist head will be chopped off. If he thinks that the statement is false, his head will be smashed with a hammer.

What statement did the journalist make to survive?

Survive in Jungle

Asked by Neha on 19 Mar 2021


If in a car race, the man who came two places in front of the last man finished one ahead of the man who came fifth, how many contestants were there?

Asked by Neha on 03 Feb 2023

What is harder to catch the faster you run?

Asked by Neha on 17 Sep 2021

An old Woman left INR 33,333 to be divided equally among two fathers and two sons and each was to receive INR 11,111.
How was this possible?

Asked by Neha on 11 Jan 2026


You are in a room that has three switches and a closed door. The switches control three light bulbs on the other side of the door. Once you open the door, you may never touch the switches again. How can you definitively tell which switch is connected to each of the light bulbs?

Asked by Neha on 02 Jul 2025

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.