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

You can see three almost identical images below. Can you spot the odd one out from them?


Find the Odd One Out

Asked by Neha on 17 May 2021


My friends called me Iron59 because my parents are a chemist and a mathematician. What is my real name?

Asked by Neha on 01 Sep 2023

John and his team plan to rob a safe. They got just one chance to break the code else the local police will be informed. Below are clues:
A) Exactly one number is perfectly placed: 9 8 1
B) Everything is incorrect: 9 2 4
C) Two numbers are part of the code of the safe but are wrongly placed: 0 9 3
D) One number is part of the code of the safe but is wrongly placed: 1 4 7
E) One number is part of the code of the safe but is wrongly placed: 7 8 3

Asked by Neha on 27 Apr 2024


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 25 Mar 2022

I am soft and cuddly that soothe your heart. But, If you pick my last name I am going to tear you all apart. Who am I?

Asked by Neha on 13 May 2024

A man is walking down a road with a basket of eggs. As he
is walking he meets someone who buys one-half of his eggs
plus one-half of an egg.
He walks a little further and meets another person who buys
one-half of his eggs plus one-half of an egg.
After proceeding further he meets another person who buys
one-half of his eggs plus one half an egg. At this point, he
has sold all of his eggs, and he never broke an egg.
How many eggs did the man have to start with?

Asked by Neha on 06 Dec 2023


There were five men at church, and it started raining while they were outside. The four that ran still got wet, but the one that was still stayed completely dry. Why did he stay dry?

Asked by Neha on 19 Jun 2025

There is a box in which distinct numbered balls have been kept. You have to pick two balls randomly from the lot.

If someone is offering you a 2 to 1 odds that the numbers will be relatively prime, for example
If the balls you picked had the numbers 6 and 13, you lose $1.
If the balls you picked had the numbers 5 and 25, you win $2.

Will you accept that bet?

Asked by Neha on 11 Mar 2023

Sherlock breaks into a crime scene. The victim is the owner who is slumped dead on a chair and have a bullet hole in his head. A gun lies on the floor and a cassette recorder is found on the table. On pressing the play button, Sherlock hears the message 'I have committed sins in my life and now I offer my soul to the great Lord' and followed a gunshot Sherlock smiles and informed the police that's its a murder.

Why did he think so?

Murder Mystery with Sherlock Riddle

Asked by Neha on 01 May 2021


What does the below rebus riddle means?

Wise Rebus Riddle

Asked by Neha on 04 Jul 2021

Hot Articles

Amazing Facts

Gamers

In 2011, people playing Foldit, an online puzzle game about protein folding, resolved the structure of an enzyme that causes an Aids-like disease in monkeys. Researchers had been working on the problem for 13 years. The gamers solved it in three weeks.