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

How many minutes are there in Feb 2017?

Note: The shortest answer is the correct answer.

Asked by Neha on 08 Aug 2024


A boy purchased a book from a bookkeeper and gave him $100.
The cost of the book is $50 but the bookkeeper has no change, so he gets the change from the next shop and returns the boy his $50.

After some time the next shopkeeper came with the $100 note and told the bookkeeper that the note was a fraud, so he took the money back.

How much loss did the bookkeeper face?

Asked by Neha on 25 Dec 2025

What does this rebus puzzle means ?

Rebus Picture Problem

Asked by Neha on 18 Jul 2023


It has five wheels, though often think four, You cannot use it without that one more, You can put things in it, you can strap things on top, You can't find it in the market, but you can still go shop. What is it?

Asked by Neha on 17 May 2021

How many cubic feet of dirt are in a hole of one foot deep, three feet long, and two feet wide?

Asked by Neha on 13 Feb 2021

A large water tank has two inlet pipes (a large one and a small one) and one outlet pipe. It takes 3 hours to fill the tank with the large inlet pipe. On the other hand, it takes 6 hours to fill the tank with the small inlet pipe. The outlet pipe allows the full tank to be emptied in 9 hours.

What fraction of the tank (initially empty) will be filled in 0.64 hours if all three pipes are in operation? Give your answer to two decimal places (e.g., 0.25, 0.5, or 0.75).

Asked by Neha on 08 Jan 2026


What jumps when it walks and sits when it stands?

Asked by Neha on 05 Jan 2026

Three friends named Mr. Black, Mr. Yellow and Mr. Green enter a pub on a weekend night. They are wearing either a Black, Yellow or Green shirt.

Mr. Yellow says to them, 'Did you notice that we all are wearing different color shirts than our names?'

To this, the man who was wearing the Green shirt said. 'Wow, thats right.'

Can you identify who is wearing which colour shirt ?

Asked by Neha on 28 Jul 2021

If we add four times the age of John four years from now to five times his age five years from now we get ten times his current age.

How old will John be two years from now?

Asked by Neha on 19 Jan 2025


A certain street contains 100 buildings. They are numbered from 1 to 100. How many 9's are used in these numbers?

Asked by Neha on 29 Mar 2024

Hot Articles

Amazing Facts

Challenging

There is a cryptic organization called Cicada 3301 that posts challenging puzzles online, possibly to recruit codebreakers and linguists.