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

Nine marbles are arranged in the image below. Can you slide two marbles to form a square?

Arrange The Marbles Puzzle

Asked by Neha on 23 Jan 2026


I can write cow in 13 letters.

Can You?

Asked by Neha on 03 Oct 2024

I taste better than I can smell. Who am I?

Asked by Neha on 30 Dec 2023


Next Number in the Series,

5, 16, 49, 104, ?

Asked by Neha on 31 Dec 2025

Can you complete the sequence puzzle?

AR TA GE CA LE VI LI _

Asked by Neha on 02 May 2025

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

Asked by Neha on 21 Sep 2021


A generous owner of a company decided to give a bonus of $45 to every man and $60 to every woman on his birthday. But only one-ninth of the men and one-twelfth of the women were present to take the bonus.

Can you calculate the amount of money the owner spent if there were 3552 employees?

Asked by Neha on 26 Nov 2024

Which is faster, Heat or Cold ? Explain.

Heat or Cold ?

Asked by Neha on 23 Mar 2021

Replace the question mark in the picture below.

Fill the Required Number Puzzle

Asked by Neha on 07 Jan 2026


I know a 5-digit number having a property that With a 1 after it, it is three times as large as it would be with a one before it.

Guess the number?

Asked by Neha on 06 Apr 2025

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.