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

If six children and two dogs were under an umbrella, how come none of them got wet?

Asked by Neha on 07 Mar 2022


A blonde put eyeliner on her head. Why?

Asked by Neha on 26 Sep 2025

When you stop to look, you can always see me. But if you try to touch me, you can never feel me. Although you walk towards me, I remain the same distance from you. What am I?

Asked by Neha on 20 Aug 2025


Considering the below equation:

V + II - VI = 10
IV - X + VIII = 20
IV - VII + VI = 30

Then, I + II + III = ?

Asked by Neha on 15 Nov 2024

I welcome the day with a show of light, I stealthily came here in the night. I bathe the earthy stuff at dawn, But by noon, alas! I'm gone.

Asked by Neha on 21 Aug 2025

Look at the below sequence of letters and tell us what the next letter should be:

O T T F F S S ?

Asked by Neha on 02 Jan 2024


Can anyone tell me a word in the English dictionary which has a silent 'z'?

Asked by Neha on 13 Jan 2024

What number divided by 4 is the same as that number minus 4?

Asked by Neha on 09 Oct 2025

Can you find out who is the kidnapper in below Picture and why, Explain ?

Catch the Kidnapper

Asked by Neha on 17 May 2021


What is so fragile that saying its name breaks it?

Asked by Neha on 19 Oct 2021

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.