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 solve below mathematical equation?

2^1234 - 2^1233

Asked by Neha on 26 Jan 2024


Which tank will fill first?

Fill The Tank

Asked by Neha on 13 Jul 2021

In the given figure, move three matchsticks so that the resulting figure contains two rectangles.

Matchsticks Rectangles

Asked by Neha on 25 Jul 2024


A man always keeps a spare tyre in his car. To make full use of all the five tyres, he changes the tyres in a manner that for a distance of 1, 00,000 km, each of them runs the same distance.

Can you calculate the distance travelled by each tyre on that journey?

Asked by Neha on 14 Sep 2023

What two things can you never eat for breakfast?

Asked by Neha on 17 May 2021

If Bihan is 10, Anirudha is 20, and Kim and Seal are both 5, but Rikold is 10, how much is Kenniger by the same trend?

Asked by Neha on 06 Sep 2024


I came first on earth but second on the heaven.
I also came twice in a week but found just once in a year.
I stay away from months but you can find me in February.

What am I?

Asked by Neha on 01 Jan 2025

Identify the hidden meaning behind this picture?

Picture Riddle

Asked by Neha on 17 Feb 2023

Can you think of a smallest +ve number such that if we shuffle the digits of the number, the new number becomes double the original number?

Asked by Neha on 25 Feb 2024


What can you see in the middle of March and April that you can never see in any other month?

Asked by Neha on 13 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.