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

Analyze and find the missing item in the sequence:
16, 06, 68, 88, __, 98

Asked by Neha on 05 Apr 2025


All of you like to eat me. I am a five-lettered word. Remove the first two and I turn into an infamous animal. Remove just the first and I become a heinous crime. Remove the first and the last and you can groove on me.

Can you guess who am I?

Asked by Neha on 01 Apr 2026

When monkey rotate the gear, which mark will be hit 1 or 2 ?

Monkey Gear riddle

Asked by Neha on 30 Apr 2021


How can you throw a ball as hard as you can and have it come back to you even if it doesn't hit anything there is nothing attached to it and no one else catches or throws it.

Asked by Neha on 06 Nov 2025

A sundial has the fewest moving parts of any timepiece. Which has the most?

Asked by Neha on 07 Jul 2025

I know a nine-letter word having only one vowel.
Do you ?

Asked by Neha on 19 Jun 2023


You are in a land where thirty men and two women were dressed in classic black and white dresses.
They begin to fight as soon as any of them move.

Where are you?

Asked by Neha on 19 Jul 2024

If you're 8 feet away from a door and with each move you advance half the distance to the door. How many moves will it take to reach the door?

Asked by Neha on 13 Aug 2023

There is a box full of marbles,
all but two are blue,
all but two are green,
and all but two are red.

How many marbles are in the box?

Asked by Neha on 01 Jan 2024


In the given figure, you can see that four match sticks are used to form a square. Can you form five squares by using six matches?

Make Six Square

Asked by Neha on 14 May 2021

Hot Articles

Amazing Facts

Gambling

In Canada, a mathematical puzzle must be solved in order to win the lottery to classify it as a “game of skill” not gambling.