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

What occurs twice in a week, once in a year but never in a day?

Asked by Neha on 27 Dec 2020


A donkey is behind another donkey
I'm behind that second donkey
But there is a whole nation behind me

It is a murder you can describe in a word.

Asked by Neha on 16 Nov 2025

Take away the whole and some still remain. What is it?

Asked by Neha on 19 Dec 2024


I had an infinite supply of water and 5 litres and 3 litres jars.

How would you measure exactly 4 litres in the least number of steps?

Asked by Neha on 18 Nov 2025

A man was just doing his job when his suit was torn. Why did he die three minutes later?

Asked by Neha on 15 Sep 2021

Using the clues below, what four numbers am I thinking of?

The sum of all the numbers is 31.
One number is odd.
The highest number minus the lowest number is 7.
If you subtract the middle two numbers, it equals two.
There are no duplicate numbers.

Asked by Neha on 06 Jan 2025


There is a place where if I stand up straight, I will still be considered sideways.

Asked by Neha on 05 May 2025

You see a mathematical expression in the picture. Can you think of a movie that this expression refers to?

Movie in Maths

Asked by Neha on 05 Aug 2021

I have a five and a three-gallon jar. Assuming there is an infinite supply of water, how can I measure one-gallon water?

Easy Gallon Riddle

Asked by Neha on 21 May 2021


You want to boil a two-minute egg. If you only have a three-minute timer (hourglass), a four-minute timer and a five-minute timer, how can you boil the egg for only two minutes?

Asked by Neha on 17 May 2021

Hot Articles

Amazing Facts

No Solution

In 2007, a puzzle was released and $2 million prizes were offered for the first complete solution. The competition ended at noon on 31 December 2010, with no solution being found. Wiki