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

John was gifted a new Hayabusa. He drove x miles at 55mph. Then he drove x+20 miles at 40mps. He drove his bike for 100 minutes. How much distance did he travel?

Asked by Neha on 31 Mar 2026


What two things can you never eat for breakfast?

Asked by Neha on 17 May 2021

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 generous owner of a company decided to give a bonus of $45 to every man and $60 to every woman on his birthday. But only one-ninth of the men and one-twelfth of the women were present to take the bonus.

Can you calculate the amount of money the owner spent if there were 3552 employees?

Asked by Neha on 26 Nov 2024

Can you find the odd number in the following five choices?

1) 482636
2) 259807
3) 865195
4) 104739
5) 391744

Asked by Neha on 24 Nov 2024

A spy was in Canada trying to steal insider information on how to set up new Maple Syrup factories in their country. He was introduced to the operations manager of the biggest factory in Canada. However, the manager was suspicious and decided to test him with a question before he trusted him. So he asked, “What would you be sure to find in the middle of Toronto?” The spy thought fast and came up with an answer for the manager. What was his answer?

Asked by Neha on 04 Jun 2025


If in a car race, the man who came two places in front of the last man finished one ahead of the man who came fifth, how many contestants were there?

Asked by Neha on 03 Feb 2023

You have four chains. Each chain has three links in it. Although it is difficult to cut the links, you wish to make a single loop with all 12 links. What is the fewest number of cuts you must make to accomplish this task?

Asked by Neha on 23 Apr 2022

Can you find the thief by just looking at the picture below?

Find The Thief

Asked by Neha on 20 Apr 2024


'Ferrari driver' easily beats the 'force driver' in a two-car race. How did Indian newspapers truthfully report so to look as a 'force drive' had outdone the 'Ferrari driver'? Think!!!

Asked by Neha on 22 Nov 2024

Hot Articles

Amazing Facts

Rubik’s Cube

The inventor of the Rubik’s Cube didn’t realize he’d built a puzzle until he scrambled it the first time and tried to restore it.