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

There are people and strange monkeys on this island, and you can not tell who is who (Edit: until you understand what they said - see below). They speak either only the truth or only lies.
Who are the following two guys?
A: B is a lying monkey. I am human.
B: A is telling the truth.

Asked by Neha on 16 Jun 2023


Why is the longest human nose just 11 inches?

Asked by Neha on 17 Aug 2021

John is looking at Jenifer, but Jenifer is looking at Jacob. John is married, but Jacob is not.

Is a married person looking at an unmarried person ?

Asked by Neha on 08 Feb 2021


I am thinking of a five-digit number such that:
The first and last digits are the same, their submission is an even number and multiplication is an odd number and is equal to the fourth number. Subtract five from it and we obtain the second number. Then divide into exact halves and we get the 3rd number.

What number I am thinking of?

Asked by Neha on 16 Nov 2024

How many triangles can you count in the figure given?

How Many Triangles Puzzle

Asked by Neha on 06 Dec 2025

ENEMY = 2 * LINK
LINK + 2 = HELL

Then what will be TAXI + HELL? Select from the options below:
a) ROTTEN
b) DANGER
c) HEAVEN
4) MORTAL

Asked by Neha on 26 Aug 2021


I organized a small get together at my home.
In the party , i have a barrel with some whiskey in it.

Suddenly Guest 1 say 'I bet this barrel of whiskey is more than half full'.
'No, it's less than half full' Guest 2 replied.

I don't have any measuring instrument and without removing whiskey from it , how can i determine which of the guest is right ?

Asked by Neha on 06 Nov 2023

Can you find a five letter word that is left with only two letters if one is removed?

Asked by Neha on 20 Jul 2021

Rebus Puzzle Definition: A rebus is an illusion device that uses pictures to represent words or parts of words.
What does This Rebus Puzzle Identify?

Rebus Puzzle

Asked by Neha on 31 May 2023


Two girls were born to the same mother, on the same day, at the same time, in the same month and year and yet they're not twins. How can this be ?

Asked by Neha on 26 May 2021

Hot Articles

Amazing Facts

Rubik’s Cube

The inventor of the Rubik’s Cube didn’t realize he’d built a puzzle until he scrambled it the first time and tried to restore it.