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

There are 2 sand hourglasses.

The small one can measure 5 hours and the large one can measure 7 hours.

How can we measure 16 hours with 2 sand hourglasses running together ?

Hourglass Time Puzzle

Asked by Neha on 30 Mar 2021


Can you find a seven digit number which describes itself. The first digit is the number of zeros in the number. The second digit is the number of ones in the number, etc. For example, in the number 21200, there are 2 zeros, 1 one, 2 twos, 0 threes and 0 fours.

Asked by Neha on 23 Jul 2021

Below rebus represent famous DiCaprio movie. Can you name it?

Decode the Rebus

Asked by Neha on 27 May 2021


This is a most unusual paragraph. How quickly can you find out what is so unusual about it? It looks so ordinary, you'd think nothing was wrong with it. Actually, nothing IS wrong with it. But it is not as ordinary as you might think. If you think about it for a bit, you will find out why it is truly so unusual. So what is it? What is so unordinary about this paragraph?

Asked by Neha on 02 May 2022

What number comes next in the series?

5 15 5 18 5 24 14 20 _

Asked by Neha on 15 Jun 2023

Can you identify if it's a murder or a suicide ?


Murder or Suicide?

Asked by Neha on 17 May 2021


You have two buckets of 11 liters and 6 litres.
How can you measure exactly 8 litres?

Asked by Neha on 17 Jan 2025

A man dies of old age on his 25 birthday. How is this possible?

Asked by Neha on 17 May 2022

Four people need to cross a rickety bridge at night. Unfortunately, they have only one torch and the bridge is too dangerous to cross without one. The bridge is only strong enough to support two people at a time. Not all people take the same time to cross the bridge. Times for each person: 1 min, 2 mins, 7 mins and 10 mins. What is the shortest time needed for all four of them to cross the bridge?

Asked by Neha on 24 Aug 2023


My cousin lives in one story house in Antarctica. His house is made the of-of sandstone. what is the color of stairs?

Asked by Neha on 27 Feb 2021

Hot Articles

Amazing Facts

Gambling

In Canada, a mathematical puzzle must be solved in order to win the lottery to classify it as a “game of skill” not gambling.