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

You have two strings whose only known property is that when you light one end of either string it takes exactly one hour to burn. The rate at which the strings will burn is completely random and each string is different.

How do you measure 45 minutes?

Asked by Neha on 19 Feb 2025


The doctor advised his patient to take a tablet after every fifteen minutes. He gave him five tablets in total.

How much time will he take to have all the five tablets?

Asked by Neha on 01 Aug 2023

How can a man go eight days without sleep?

Asked by Neha on 11 Mar 2024


What does below Rebus say?

XLR8

Asked by Neha on 10 May 2021

You are in a room with no metal objects except for two iron rods. Only one of them is a magnet.
How can you identify which one is a magnet?

Asked by Neha on 28 Feb 2024

0 0 0 = 6
1 1 1 = 6
2 2 2 = 6
3 3 3 = 6
4 4 4 = 6
5 5 5 = 6
6 6 6 = 6
7 7 7 = 6
8 8 8 = 6
9 9 9 = 6

You can use any mathematical symbols in the space provided to make all above algebraic expressions true.

Asked by Neha on 24 Jul 2021


There was an aeroplane crash, every single person died, but two people survived. How is this possible?

Asked by Neha on 28 Dec 2023

Akbar called Birbal and asked him to draw a line on the floor. He asked Birbal to make that line smaller without erasing it. Birbal smiled and did it before Akbar could blink his eyes.

How did he managed to do it?

Akbar Birbal line on the floor riddle

Asked by Neha on 07 May 2021

In a jungle where there are no street lights or any other artificial source of lights, I notice a black snake crossing the road.
How did I get sight of the snake?

Asked by Neha on 15 Oct 2023


Sachin bought a car with a strange 5 digit numbered plate.The water image of the number is 78633 more than my car number. All the digits of car number are distinct.

What is the original number on number plate?

Car Number Riddle

Asked by Neha on 13 Mar 2021

Hot Articles

Amazing Facts

Gambling

In Canada, a mathematical puzzle must be solved in order to win the lottery to classify it as a “game of skill” not gambling.