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

By what process could you make a 'Tea-Table' into food?

Asked by Neha on 16 Aug 2023


A father's child, a mother's child, yet no one's son.

Who am I?

Asked by Neha on 21 Mar 2022

I am not a bull but I have horns.
I am not an ass but I have a pack saddle.
Wherever I go, I leave silver behind me.

Who am I?

Asked by Neha on 26 Jan 2026


What is the probability of getting five Mondays in a 31-day month?

Asked by Neha on 10 Aug 2026

I can prove why 1 = 2

* Lets say y = x
* Multiply through by x xy = x2
* Subtract y2 from each side xy - y2 = x2 - y2
* Factor each side y(x-y) = (x+y)(x-y)
* Divide both sides by (x-y) y = x+y
* Divide both sides by y y/y = x/y + y/y
* And so... 1 = x/y + 1
* Since x=y, x/y = 1 1 = 1 + 1
* And so... 1 = 2

How is this possible?

Asked by Neha on 01 Aug 2026

Two fathers and two sons went fishing one day. They were there the whole day and only caught 3 fish. One father said, that is enough for all of us, we will have one each. How can this be possible?

Asked by Neha on 17 May 2021


Jim has three close friends at his school: Michael, John and Alice. Two of them play football, two play basketball and two play hockey. The friend who does not play hockey does not play basketball as well. The friend who does not play football does not play hockey.

Can you identify which sport/s is played by which person?

Asked by Neha on 21 Mar 2026

There once were seven dwarfs who were all brothers. They were all born two years apart. The youngest dwarf is seven years old. How old is his oldest brother?

Asked by Neha on 13 Jun 2025

John is a strange liar.

He lies on six days of the week, but on the seventh day, he always tells the truth.

He made the following statements on three successive days:

Day 1: "I lie on Monday and Tuesday."
Day 2: "Today, it"s Thursday, Saturday, or Sunday."
Day 3: "I lie on Wednesday and Friday."

On which day does John tell the truth?

Asked by Neha on 27 Feb 2025


I am a five-letter word and comprises two different vowels and three same consonants. I am so strong that I can spoil your entire work.

Can you find out who am I?

Asked by Neha on 13 Dec 2024

Hot Articles

Amazing Facts

Challenging

There is a cryptic organization called Cicada 3301 that posts challenging puzzles online, possibly to recruit codebreakers and linguists.