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

How could a baby fall out of a twenty-story building onto the ground and live?

Asked by Neha on 07 Nov 2023


Can you find the company name in the pictogram below?

Find The Company

Asked by Neha on 09 Dec 2024

I am sure no one can have two things for dinner. what are they?

Asked by Neha on 18 Nov 2024


Can you circle exactly four of these numbers such that the total is twelve?

1 6 1
6 1 6
1 6 1
6 1 6

Asked by Neha on 27 Apr 2023

Below toothpicks/matchsticks indicate the group of fishes moving from west to east direction. Can you make them move from east to west by just moving three toothpicks/matchsticks?


Floating Fish

Asked by Neha on 14 May 2021

John and his wife were living in a rural place. On a particular day, John's wife fell ill and he called the local doctor. When the doctor picked up, he said, "Doctor, my wife is ill. She might have appendicitis."

"This can't be possible! I took out her appendix two years ago myself," the doctor explained.

When diagnosed, John's wife was found to have appendicitis. How can this be possible?

Asked by Neha on 19 Jun 2024


When I go in I might cause pain. I cause you to spit and ask you not to swallow. I can fill your hole. What am I?

Asked by Neha on 20 Feb 2026

Can you find out which number multiplied by itself will give the output as 12345678987654321?

Asked by Neha on 27 Mar 2023

Can you decipher the following common phrase?

T M C
A U O
H S M
W T E

Asked by Neha on 14 May 2021


A man escapes from jail using help from his girlfriend. The investigators suspect four girls of being the man's girlfriend.

Out of those four girls, one is his girlfriend who is lying. Two of the girls are completely innocent and are speaking the truth. One of the girls is the man's sister who is helping the girlfriend lie. Following are the statements from all four of them:

Ariana: "Myrna is his girlfriend."
Jane: "Angelina is lying."
Angelina: "Ariana is lying."
Myrna: "Jane is not his sister."

Can you find out who is the man's sister among them?

Asked by Neha on 27 Mar 2026

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.