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

While preparing the table for dinner, wife came up with an idea to tease his mathematician husband. She asked her husband to pick nine toothpicks and make ten without breaking any toothpick.

The husband was also smart and did it within seconds. How ?

Asked by Neha on 22 Dec 2020


What time is it when an elephant sits on a fence?

Asked by Neha on 10 Jul 2025

You are playing a game with your friend Jack. There are digits from 1 to 9. You both will take turn erasing one digit and adding it to your score. The first one to score 15 points will win the game.

Would you want to play first or second?

PS: The sum should be exactly 15.

Asked by Neha on 16 Dec 2020


The doctor prescribed you to take one pill from the bottle every half an hour. The bottle is now left with only three pills.

How long do you think you have before you run out of pills?

Asked by Neha on 21 Dec 2024

John went to a parrot shop in Mexico, and the parrot owner told him that his parrot is so unique that he repeats everything he hears. John got excited and immediately bought the parrot. John went home and spoke many words, but the parrot does not repeat anything.
He went again to the parrot shop and complaint to the shopkeeper, but the shopkeeper never lied. Explain?

Asked by Neha on 18 Oct 2024

There are two guys standing face to face in a room. On a wall, there is a clock. One of those is a prophet. He tells the other guy that he will be stabbed in the back in five minutes.

Shocked to hear that, the other guy stares at the clock. Just after the five minutes, he is stabbed on the back. Can you tell what happened?

Asked by Neha on 29 Apr 2025


The current time can be represented by below textual rebus.

0
=========
B.Sc
LLB

Can you tell us the current time?

Asked by Neha on 24 Feb 2021

A thief is convicted in Mexico. He gets the death penalty. The judge allows him to say the last sentence to determine how the penalty will be carried out. If the thief lies, he will be hanged, if he speaks the truth he will be beheaded. The thief tells the last sentence and to everybody's surprise some minutes later he is set free because the judge cannot determine his penalty. What did the thief say?

Asked by Neha on 07 Sep 2024

Find the combined weight of the Cat, Dog and Rabbit in the given picture.

 Weight of Animals

Asked by Neha on 17 Jan 2024


A man is found unconscious in front of a store at two in the morning. His head is bleeding and there’s a brick laying next to him. When the police arrive, they carry the man to jail. Why did they arrest him?

Asked by Neha on 25 May 2025

Hot Articles

Amazing Facts

Word ladder puzzle

The word ladder puzzle was invented by Lewis Carroll, author of Alice’s Adventures in Wonderland.