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

Can you move 2 matchsticks to form four equal sized squares.

Make four Square Riddle

Asked by Neha on 17 Dec 2020


Do you know of a place where the wind blows south and then suddenly shifts direction towards the north?

Asked by Neha on 14 Sep 2025

There are three boxes of different sizes with three cupcakes inside each of the boxes in Christina's kitchen. At night her daughter wakes up and goes to the kitchen. She opens a box and eats all three cakes.

But in the morning Christina finds out that each box still had three cupcakes. How?

Asked by Neha on 06 Dec 2024


Find the missing number in the image below.

Find the missing

Asked by Neha on 11 May 2025

How much will a 38° angle measure when looked at under a microscope that magnifies ten times?

Asked by Neha on 17 May 2021

How can you throw a ball as hard as you can and have it come back to you even if it doesn't hit anything there is nothing attached to it and no one else catches or throws it.

Asked by Neha on 06 Nov 2025


I add 5 to 9 and get 2. The answer is correct, so what am I?

Asked by Neha on 04 Aug 2025

A thief enters a store and threatens the clerk, forcing her to open the safe. The clerk says, “The code for the safe is different every day, and if you hurt me you’ll never get the code.” But the thief manages to guess the code on his own. How did he do it?

Asked by Neha on 14 Jun 2025

During a secret mission, an agent gave the following code to the higher authorities
AIM DUE OAT TIE MOD

However, the information is in one word only and the rest are fake. To assist the authorities in understanding better, he also sent them a clue, If I tell you any one character of the code, you can easily find out the number of vowels in the codeword.

Can you find out the code word?

Asked by Neha on 19 Feb 2023


What has one letter and starts with an E?

Asked by Neha on 18 Dec 2024

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.