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 wooden log balances equally on the scales when weighed with three-quarters of a pound and three-quarters of a wooden log.

Can you calculate the weight of the entire wooden log?

Asked by Neha on 22 Aug 2023


In my garden, I have many trees but only one of them is the mango tree. In these mango trees, there are some mangoes(as expected).

But after a strong wind, there are neither mangoes on the tree nor on the ground. Explain?

Asked by Neha on 16 May 2024

Name the three-letter word that can complete the below words?

A) L O _ _ _ E
B) E D U _ _ _ E
C) _ _ _ E R
D) _ _ _ T L E

Asked by Neha on 07 Oct 2023


What number comes next in this sequence:
7 8 5 5 3 4 4 _

Asked by Neha on 06 Aug 2024

Can you find the next number in the below sequence
3 , 7 , 10 , 11 , 12 , 17 ?

Asked by Neha on 04 Mar 2025

Which is heavier: a ton of bricks or a ton of feathers?

Asked by Neha on 28 Feb 2022


What comes
Once in a Year
Twice in a Month
4 times in a Week
6 times in a Day

Asked by Neha on 24 Feb 2022

A research team went to a village somewhere between the jungles of Africa. Luckily for them, they reached the day when quite an interesting custom was to be performed. The custom was performed once a year as they confirmed and was performed in order to collect the taxes from every male of the region.

The taxes were to be paid in the form of grains. Everyone must pay pounds of grain equaling his respective age. This means a 20-year-old will have to pay 20 pounds of grain and a 30-year-old will pay 30 pounds of grain and so on.

The chief who collects the tax has 7 weights and a large 2-pan scale to weigh. But there is another custom that the chief can weigh only three of the seven weights.

Can you find out the weights of the seven weights? Also, what is the maximum age of the man that can be weighed for the payment of taxes?

Asked by Neha on 12 Jan 2025

A man was driving a black truck. His lights were not on. The moon was not out. A lady was crossing the street. How did the man see her?

Asked by Neha on 06 Mar 2022


If Rajina's daughter is my daughter's mom, who am I to Rajina?

Asked by Neha on 11 Dec 2023

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.