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

Tell me the Hindi name of a Vegetable which if we remove 1st word will become a precious Stone and by removing the last word it will become a sweet eatable.

Asked by Neha on 16 Apr 2025


The person who makes it has no need for it. He who purchases it does not use it. The person who does use it does not know they are. What is it?

Asked by Neha on 16 Jun 2025

If Japan and Panama decided to merge into a single country, probably people will name it Japanama.

Can you think of two more such country's unions that could produce similar names like Japanama by overlapping their three letters?

Asked by Neha on 08 Sep 2024


What goes through cities and fields, but never moves?

Asked by Neha on 10 Mar 2025

A 3 digit number is such that it's unit digit is equal to the product of the other two digits which are prime. Also, the difference between it's reverse and itself is 396.

What is the sum of the three digits?

Asked by Neha on 13 Dec 2020

What Deficiency does the below rebus represent?

VIT_MIN

Asked by Neha on 09 Jun 2024


using four eights (8) and a one (1) and one mathematical symbol , create the number 100

Asked by Neha on 31 Dec 2020

In a school, there are four subjects. Seventy percent of students study English, seventy five percent of students study Science, eighty five percent of students study Mathematics and eighty percent of students study Spanish.

Can you calculate the percentage of students that study all four subjects?

Asked by Neha on 16 Apr 2023

Where do you go to learn how to make ice cream?

Asked by Neha on 07 Aug 2024


You’re out on the water and see a boat filled with people. You look away for a second and look back again, but this time you don’t see a single person on the boat. Why? Hint: The boat did not sink.

Asked by Neha on 15 Jun 2025

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.