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 man dies of old age on his 25 birthday. How is this possible?

Asked by Neha on 17 May 2022


John gave half of the apples he had plus one more to Jacob. He gave half of the remaining ones plus one more to James. Now, John was left with just one apple.

Can you find out how many did he have in the beginning?

Asked by Neha on 13 Nov 2024

A pond had 60 fish, out of which, all but 20 died.
How many fishes are now present in that pond?

Asked by Neha on 14 Jul 2024


A horse was tied to a rope 5 meters long and the horses food was 15 meters away from the horse. How did the horse reach the food?

Asked by Neha on 17 May 2021

I have nine bottles of wine and one of the nine bottles is poisoned.
I need to find the poisoned bottle with two facts
(1) Poison is deadly, only a sip will cost death
(2) I have two mice to do so.

How should I do it?

Asked by Neha on 25 May 2021

Things are just as they seem, right? Well, check again.
Can you count the number of tigers in this picture ?

Count The Tigers

Asked by Neha on 21 May 2021


What is red and smells like blue paint?

Asked by Neha on 22 Jul 2025

Decode below rebus
D
N
A
T
S , D

Asked by Neha on 14 May 2021

At the local model boat club, four friends were talking about their boats.

There were a total of eight boats, two in each colour, red, green, blue and yellow. Each friend owned two boats. No friend had two boats of the same colour.

Alan didn't have a yellow boat. Brian didn't have a red boat but did have a green one. One of the friends had a yellow boat and a blue boat and another friend had a green boat and a blue boat. Charles had a yellow boat. Darren had a blue boat, but didn't have a green one.

Can you work out which friend had which coloured boats?

Asked by Neha on 15 Jan 2024


Distances from you to certain cities are written below.

BERLIN 200 miles

PARIS 300 miles

ROME 400 milesAMSTERDAM 300 miles

CARDIFF ??? miles

How far should it be to Cardiff ?

Asked by Neha on 25 Feb 2021

Hot Articles

Amazing Facts

Out of the Box

The phrase “thinking outside the box” was popularised from the solution to a topographical puzzle involving 9 dots in a box shape.