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

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


Can you calculate the probability of getting a sum of six when a dice is thrown twice?

Asked by Neha on 11 Feb 2021

You are in a land where thirty men and two women were dressed in classic black and white dresses.
They begin to fight as soon as any of them move.

Where are you?

Asked by Neha on 19 Jul 2024


John was born on March 5, 1970, in Delhi, India. Jacob was born 25 days before John. The year when they took birth, Republic Day fell on Monday.

Can you find out on what day was Jacob born?

Asked by Neha on 24 Dec 2023

What am I?

Asked by Neha on 10 Apr 2025

The following alphametic has only one solution. Can you find it?
ENLIST + SILENT + LISTEN = ANAGRAM

PS: You may start the number from 0.

Asked by Neha on 12 Jun 2023


Can you spot the man between the coffee bean in the picture below ?

Spot the Man

Asked by Neha on 31 Aug 2021

What is the next number in this matchsticks series riddle?

Next Number In Matchstick Series

Asked by Neha on 27 Apr 2021

Joseph buys three kinds of chocolates for 100 rupees. The first one is priced at 5 rupees, second one at 3 rupees and third one at 0.5 rupees.

If he bought 100 chocolates in total, how many pieces do you think he bought each chocolate?

Asked by Neha on 04 Jan 2021


On a windy rainy night , I was driving in my car.
When i reach the bus stand , i see three people waiting for the bus.

1. An old lady who needs an immediate medical attention
2. My Best Friend
3. Girl whom i love from childhood

My car is a two seat, so can you tell me , what i have done in this situation ?

Asked by Neha on 14 Feb 2023

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