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

Today is John's birthday.
A year ago, John had five candles and he lit all the candles except the one at the last.
Now he is going to light all the candles.

How old is John Today?

(He is not five today.....)

Asked by Neha on 04 Feb 2025


You are a prisoner sentenced to death. The Emperor offers you a chance to live by playing a simple game. He gives you 50 black marbles, 50 white marbles, and 2 empty bowls. He then says, 'Divide these 100 marbles into these 2 bowls. You can divide them any way you like as long as you use all the marbles. Then I will blindfold you and mix the bowls around. You then can choose one bowl and remove ONE marble. If the marble is WHITE you will live, but if the marble is BLACK... you will die.'

How do you divide the marbles up so that you have the greatest probability of choosing a WHITE marble?

Asked by Neha on 14 Jun 2023

You have a thousand Re. 1 coins with you. You have ten bags with you and you can put any number of coins in each of the bags. The condition is that if someone asks you for any amount between 1 and 1000, you must be able to give that amount by just giving the bag (you are not allowed to open the bag and give coins).

How will you do it?

Asked by Neha on 12 May 2024


A person was found dead on a big green land with no trees or buildings around. When the police arrived, they found a piece of rock lying next to him and the man was wearing clothes comprising of red, blue and yellow colours.

Can you tell who the person is and what was the cause of death?

Asked by Neha on 03 May 2024

A Club organizes a Running Race, and John, Jacob, Minda, and Tony participated.

The results are as follows

John beats Jacob
Minda beats Toni
Toni beats John

Who came first in the race?

Asked by Neha on 23 May 2024

A cat, a dog and a monkey were stolen. 3 suspects got caught: Harish, Manoj and Tarun. All we know is each person stole one animal, but we do not know who stole which. Here are the investigation statements. Harish said: Tarun stole the cat. Manoj said: Tarun stole the dog. Tarun said: They both were lying. I did not steal the cat or the dog. Later on, the police found out the man who stole the monkey told a lie. The man who stole the cat told the truth. Can you find out who stole which?

Asked by Neha on 05 Nov 2023


A boy was at a carnival and went to a booth where a man said to the boy, "If I write your exact weight on this piece of paper then you have to give me $50, but if I cannot, I will pay you $50." The boy looked around and saw no scale so he agrees, thinking no matter what the carny writes he'll just say he weighs more or less. In the end the boy ended up paying the man $50. How did the man win the bet?

Asked by Neha on 07 Apr 2022

If EELS + MARK + BEST + WARY = EASY

What does HELP + BARK + WARD + LEAD equal?

Find the Next

Asked by Neha on 18 Mar 2021

It belongs to you, but other people use it more than you do. What is it?

Asked by Neha on 19 Feb 2022


A woman is sitting in her hotel room and hears a knock at the door. She opens the door to see a man whom she’s never met before. He says, “I’m sorry, I have made a mistake, I thought this was my room.” He then goes down the corridor and into the elevator. The woman goes back into her room and calls security. What made the woman so suspicious of the man?

Asked by Neha on 22 May 2025

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.