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

Most people think of me as money. But when they find me in the water, they won’t get any money out of me. What am I?

Asked by Neha on 26 Oct 2025


How can you drop a raw egg from a height onto a concrete floor without cracking it?

Asked by Neha on 27 Jan 2021

I start and end with 500 and carry a 5 in my heart. But I require the first letter and the first number to be complete. I am the name of a King.

Who am I ?

Name the King

Asked by Neha on 10 Mar 2021


Count The number of F's in the paragraph below:

"FINISHED FILES ARE THE RESULT OF YEARS OF SCIENTIFIC STUDY COMBINED WITH THE EXPERIENCE OF YEARS"

Test your Eye

Asked by Neha on 25 Mar 2021

I have 50 feet long of cloth, I need to create 50 handkerchiefs each size of 1 foot. I take one minute to cut a 1-foot handkerchief. So how long will it take to cut 50 handkerchiefs?

Asked by Neha on 05 Sep 2024

Jenifer is learning to drive her car. She went down a one way lane and in the wrong direction. But she do not break any law.

How come ?

Asked by Neha on 30 Jun 2021


Analyze and find the missing item in the sequence:
16, 06, 68, 88, __, 98

Asked by Neha on 05 Apr 2025

A murder has been committed in a house. You are a detective and have to find out the murderer.

You investigate by asking three questions to each of the six suspects. Out of those six suspects, four are liars. It is not necessary that they speak everything a lie. But in their answers, there must be at least one lie. One of the six is the murderer.

There are eight rooms in the house in which the murder has been committed: Kitchen, Living Room, Bathroom, Garage, Basement, 3 Bedrooms.

At the time of the murder, only the murderer was present in the killing room. Any number of people can be present in any of the other rooms at the same time.

Can you identify the murderer and the four liars? Also, can you find out who was in which room?

The responses of all the suspects are mentioned below.

Joseph:
Peter was in the 2nd bedroom.
So was I.
David was in the bathroom.

Mandy:
I agree with Joseph that David was in the bathroom and Peter was in the 2nd bedroom.
But I think that Joseph was in the living room, OH MY GOD!

Peter:
Mandy was in the kitchen with Christopher.
But I was in the bathroom.

David:
I still say Peter was in the 2nd bedroom and Jennifer was in the bathroom.
Joseph was in the 1st bedroom.

Jennifer:
Peter was in the bathroom with Christopher.
And Mandy was in the kitchen.

Christopher:
David was in the kitchen.
And I was in the 2nd bedroom with Peter.

PS: The corpse was found in the Living Room.

Asked by Neha on 22 May 2023

What Deficiency does the below rebus represent?

VIT_MIN

Asked by Neha on 09 Jun 2024


Every words stands for unique digit that makes the arithmetic equation true

SEVEN + SEVEN + SIX = TWENTY.

What are the digits ?

Asked by Neha on 31 Jan 2021

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.