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 mathematician couple was having a Frappuccino in Starbucks sitting opposite to each other. Suddenly the guy noticed the text written on the paper in front of them and exclaimed that it was wrong. The girl denied it and said it is appropriate. Both are correct. What is written on the paper?

Asked by Neha on 11 Jul 2023


Teacher ask the student

'Why are you standing on that chair in music class ?'.

what did student replied ?

Asked by Neha on 10 Jan 2021

Which flower has two lips?

Asked by Neha on 24 Apr 2024


You have two rectangular wires.

Both of them have property that when you light the fire from one end , it will take 60 minutes to get completely burn.

However, they do not burn at consistent speed (i.e it might be possible 1st 20% burn in 50 minutes and 80% can burn in 10 minutes).

So how could you measure 45 minutes ?

Asked by Neha on 21 Feb 2021

Is the statement valid that it does not matter how much older a sibling is, eventually the younger one will be half as old as the older one?

Asked by Neha on 23 Feb 2023

A bomb goes off.
Carnage.
One person, only a few feet away, survives! How can this be?

Asked by Neha on 19 Sep 2021


Accidentally, two trains are running in the opposite direction and enter a tunnel that is 200 miles long. A supersonic bird that has fled the lab and taken shelter in the tunnel starts flying from one train towards the other at a speed of 1000 mph. As soon as it reaches the second train, he starts flying back to avoid collision and meets the first train again at the other end. The bird keeps flying to and fro till the trains collide with each other.

What is the total distance that the supersonic bird has traveled till the trains collided?

Asked by Neha on 21 Feb 2023

Christina, Allison and Lena are 3 daughters of John a well-known Mathematician, When I asked John the age of their daughters. He replied "The current age of her daughters is prime. Also, the difference between their ages is also prime."

How old are the daughters?

Asked by Neha on 05 Aug 2023

A man was convicted of a minor offence in Akbar court. Akbar decided to give him a chance. He asked him to give a statement. If the statement is true, he will be killed by lions and if it is false, he will be killed by trampling of wild elephants.

The convicted person requested help from Birbal and since the crime was not a big one, Birbal decided to help him. Whatever Birbal suggested impressed Kabir and he let the convicted person go.

What did Birbal suggest to the person?

Asked by Neha on 10 May 2021


There is a brick of gold and a brick of iron in a boat (both 10-inch blocks), if they are both dropped into the water which will make the water level higher?

Gold and Iron Bricks

Asked by Neha on 27 May 2024

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.