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

You knock a Table over in the library, and suddenly 20 eyes are looking at you.

Asked by Neha on 21 Sep 2021


If it took eight men ten hours to build a wall, how long would it take four men to build it?

Asked by Neha on 08 May 2023

Can you find out what is missing?

1 3 5
2 4 ?

Hint: It's not six. Think out of the box.

Asked by Neha on 25 Aug 2023


Riddle me this, Riddle me that,
What am I? I am made of wood, but you can't see me down?

Asked by Neha on 16 Aug 2026

I am a word that begins with the letter “i.” If you add the letter “a” to me, I become a new word with a different meaning, but that sounds exactly the same. What word am I?

Asked by Neha on 19 Mar 2025

In the image below, can you find the value of an angle(y)

The angle of a triangle

Asked by Neha on 17 May 2023


f you were running a race, and you passed the person in 2nd place, what place would you be in now?

Asked by Neha on 14 May 2021

A girl has as many brothers as sisters, but each brother has only half as many brothers as sisters. How many brothers and sisters are there in the family?

Asked by Neha on 03 Mar 2022

What kind of band never plays music?

Asked by Neha on 09 Jul 2023


Fate has decided that you will only be pleased to meet me when you need me

Maybe that is why, when I am working, I start working

However annoying I may be to the regulars, the little ones are always inspired

I will always be waiting if you try to reach me

How many of you can guess my name, let me see

Asked by Neha on 05 Mar 2026

Hot Articles

Amazing Facts

Crossword puzzles

In the 1920s, people feared that crossword puzzles would contribute to illiteracy.