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

If there are fifteen crows on a fence and the farmer shoots a third of them, how many crows are left?

Asked by Neha on 17 May 2021


How many Watermelons are there in the below picture?

How many Watermelons?

Asked by Neha on 13 Apr 2025

Find the value of "?" in the ball picture Riddle below:

Missing Ball Sequence

Asked by Neha on 20 Jun 2021


Find three numbers such that

* When we multiply three numbers, we will get the prime numbers.
* The difference between the second and the first number is equal to the third and second.

Asked by Neha on 12 Jul 2024

How can you make a TV, a bed, a dog, and a car liquid?

Asked by Neha on 27 Mar 2024

You are in a room that has three switches and a closed door. The switches control three light bulbs on the other side of the door. Once you open the door, you may never touch the switches again. How can you definitively tell which switch is connected to each of the light bulbs?

Asked by Neha on 02 Jul 2025


A wife and her husband were driving in their car on the highway. All of a sudden, they ran out of gas. So the husband said to the wife, 'Now, you stay here. I will go down the highway to the nearest gas station, and it will be about 1 hour. Just listen to the radio and read some books, and remember to lock all the windows and doors. I will leave the keys with you.' So, off the husband went, and the wife first locked ALL the windows and doors. Next, she turned on the radio, and this is what she heard on the news report:
'THERE IS A MURDERER ON THE LOOSE. HE WAS LAST SEEN ON THE HIGHWAY, WEARING ALL BLACK, ABOUT 5 FOOT 11 INCHES. PLEASE, BE AWARE AND CONTACT THE POLICE IMMEDIATELY.' The wife got very scared. She turned off the radio and double-checked the locked doors. Then she saw the murderer, only a couple of feet away from the car. An hour later, the husband returned to his car. Inside the car, his wife was DEAD, she had been murdered. All the windows were still locked, and the doors. No windows were broken, and the car was in PERFECT condition. No scratches or anything, it was the same way as when he left it. How did the murderer kill the wife?

Asked by Neha on 13 Jul 2023

If it took eight men ten hours to build a wall, how long would it take four men to build it?

Asked by Neha on 08 May 2023

Find the Odd One Out?
84129
32418
47632
36119
67626
72927

Asked by Neha on 05 Feb 2026


Find the hidden panda in the image below.

Find The Panda

Asked by Neha on 13 Jun 2024

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.