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 mile-long train is moving at sixty miles an hour when it reaches a mile-long tunnel. How long does it take the entire train to pass through the tunnel?

Asked by Neha on 27 Apr 2022


A cat, a dog and a monkey were stolen. 3 suspects got caught: Harish, Manoj and Tarun. All we know is each person stole one animal, but we do not know who stole which. Here are the investigation statements. Harish said: Tarun stole the cat. Manoj said: Tarun stole the dog. Tarun said: They both were lying. I did not steal the cat or the dog. Later on, the police found out the man who stole the monkey told a lie. The man who stole the cat told the truth. Can you find out who stole which?

Asked by Neha on 05 Nov 2023

John went to buy some expensive, foreign chocolates. He only had Rs 100 with him. When he reached the shop, he got out and know that on those chocolates, there was a 15% import duty and 5% VAT.

How much worth chocolate should he buy so that he can accommodate it in Rs 100?

Asked by Neha on 25 Oct 2024


What 4-letter word can be written forward, backward or upside down, and can still be read from left to right?

Asked by Neha on 14 May 2021

Find the combined weight of the Cat, Dog and Rabbit in the given picture.

 Weight of Animals

Asked by Neha on 17 Jan 2024

An exterior architect is asked by a builder to plant seven trees in a manner that there are exactly six rows of trees in a straight line and each row has three trees in particular.

How will he do it?

Math Figure Puzzle

Asked by Neha on 03 Apr 2023


There is so small cabin inside a deep forest.
All the forest burned out to worst possible but the inside of the cabin is still the same.
However all the person inside the cabin die.

How come ?

Asked by Neha on 15 Sep 2024

Find out the number of circles in the given picture having Illusion

How many circles do you see?

Asked by Neha on 20 Apr 2021

Why is a river so rich ?

Rich River Riddle

Asked by Neha on 24 Dec 2020


During which month do people sleep the least?

Asked by Neha on 13 Apr 2022

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.