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 bridge is about to collapse. There are four people P, Q, R and S on one of the sides. Before the bridge collapses, they want to cross it. Now since the bridge is too weak, it can only stand the weight of two people at a time. Also, it is night time and nothing is visible. They have just one torch with them.

Now P takes one minute to cross the bridge, Q takes two minutes to cross, R takes five minutes to cross and S takes ten minutes to cross.

The bridge will collapse in seventeen minutes. How will they be able to cross the bridge before it collapses?

Asked by Neha on 01 Apr 2024


Can you find a number that lies one third of the distance between 1/3 and 2/3?

Asked by Neha on 29 Dec 2020

As a whole I am both
safe and secure.

Behead me and I become
a place of meeting.

Behead me again and I am
the partner of ready.

Restore me, and I become
the domain of beasts.

What am I?

Asked by Neha on 11 May 2021


If,

6 / 7 = 2
3 / 9 = 7
8 / 2 = 6

Then

4 / 5 = ?

Asked by Neha on 15 Apr 2025

How many times in a given day, minutes and hour clock comes in a straight line ?

Asked by Neha on 03 Mar 2023

John’s parents have three sons: Snap, Crackle, and what’s the name of the third son?

Asked by Neha on 14 Feb 2022


What is the four-digit number in which the first digit is one-third the second, the third is the sum of the first two, and the last is three times the second?

Asked by Neha on 15 Sep 2025

What is the next number in this matchsticks series riddle?

Next Number In Matchstick Series

Asked by Neha on 27 Apr 2021

1. Where does Easter come from before Valentine's Day?

2. Do you know what is in the middle of Valentine's?

3. What did the lady bee say to the man bee on the occasion of Valentine's Day

Asked by Neha on 24 Oct 2024


The picture shows the dice results in each couple of throws. If they are actually following a pattern, can you find out the missing one?

Next Dice Movement

Asked by Neha on 02 Dec 2023

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.