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

I am under you when I am whole.
I shift above you if you remove the first letter.
I come all around you if you remove the second as well.

Can you tell me who I am?

Asked by Neha on 28 Jun 2023


What does this rebus means ?

Rebus For Kids

Asked by Neha on 02 Apr 2025

I am a three digit number.
My tens digit is five more than my ones digit.
My hundreds digit is eight less than my tens digit.
What number am I?

Asked by Neha on 17 May 2021


Quickly Solve this riddle

7 - 4 + 3 * 0 + 1 = ?

Asked by Neha on 04 Dec 2024

John is the son of Jacob.
So,
Jacob is the_____of John's father?

Asked by Neha on 17 Dec 2024

Alex opened 24 presents
Jonah opened 8 presents
Clara opened 1 present

Can you find out how many presents were opened by Candy?

Asked by Neha on 06 May 2024


I have no doors but I have keys, I have no rooms but I have space, you can enter but you can’t leave! What am I?

Asked by Neha on 15 Mar 2022

Can you name some countries which do not have the alphabet 'A' in them?

Asked by Neha on 17 Aug 2024

A bank customer had $100 in his account. He then made 6 withdrawals. He kept a record of these withdrawals, and the balance remaining in the account, as follows:

Withdrawals Balance left
$50 $50
$25 $25
$10 $15
$8 $7
$5 $2
$2 $0
----- -----
$100 $99

Why are the Totals not tallying?

Asked by Neha on 14 Dec 2023


Why is the Hole below a Lock?

The Hole below a Lock

Asked by Neha on 22 Jul 2023

Hot Articles

Amazing Facts

Jigsaw puzzles

Jigsaw puzzles soared in popularity during the great depression, as they provided a cheap, long-lasting, recyclable form of entertainment.