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

What number do you get when you multiply all of the numbers on a telephone's number pad?

Asked by Neha on 17 Jul 2024


A landlord calls both of his sons and tells them that their horses will now decide who will transfer the inheritance. He tells them to race along the land till the end and the one whose horse will be slower will win and be the heir to all the property.

Both of them keep wandering for days but to no result. Then they ask a wise man regarding it. The man advises them on the matter after which they jump on the horses and race as fast as they can till the end. Why did they do it?

What did the wise man say?

Asked by Neha on 05 Nov 2025

You knock a Table over in the library, and suddenly 20 eyes are looking at you.

Asked by Neha on 21 Sep 2021


What number divided by 4 is the same as that number minus 4?

Asked by Neha on 09 Oct 2025

While going to your grandmother's house, you counted Twenty houses on the right side. While returning back to your home, you counted Twenty houses on the left side.

How many houses are there between your home and your grandmother's home?

Asked by Neha on 20 Feb 2024

I have thought of a number that is made up by using all the ten digits just once. Here are a few clues for you to guess my number:

First digits is divisible by 1.
First two digits are divisible by 2.
First three digits are divisible by 3.
First four digits are divisible by 4.
First five digits are divisible by 5.
First six digits are divisible by 6.
First seven digits are divisible by 7.
First eight digits are divisible by 8.
First nine digits are divisible by 9.
The number is divisible by 10.

Can you find out the number ?

Asked by Neha on 12 Mar 2023


What are the next two letters in the following series and why?
W A T N T L I T F S _ _

*Hint: Check Puzzle Title

Asked by Neha on 12 May 2023

If in a code language, DISTANCE is written as IDTUBECN and DOCUMENT is written as ODDVNTNE, the how will THURSDAY be coded as in the same language?

Asked by Neha on 17 May 2021

Why is Saturday stronger than Monday?

Asked by Neha on 13 Feb 2023


The king of Octopuses has servants who have six, seven or eight legs. The distinguishing characteristics of the servants is that the one with seven legs always lie but the one with either six or eight legs speak the truth always.

One day, four servants meet and converse:

The black one says, 'We have 28 legs altogether.'

The green one says, 'We have 27 legs altogether.'

The yellow one says, 'We have 26 legs altogether.'

The red one says, 'We have 25 legs altogether.'


Can you identify the colour of the servant who is speaking the truth?

Servants with multiple legs

Asked by Neha on 09 Apr 2021

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.