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

What does this Rebus Picture mean?

TV Rebus

Asked by Neha on 17 Mar 2024


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

Asked by Neha on 21 Sep 2021

What is the largest amount of money that you can possess in change and still if someone asks you for a dollar, you won't be able to give?

Asked by Neha on 07 Jan 2025


All of the flowers I have are orchids except two. All of the flowers I have are hibiscuses except two. All of the flowers I have are roses except two.

Can you tell me how many flowers I have?

Asked by Neha on 28 Feb 2025

If,

A + B = C
D - C = A
E - B = C

Based on the above equations, find out the answer for:

D + F = ?

Asked by Neha on 01 Jan 2026

The first box has two white balls. The second box has two black balls. The third box has a white and a black ball.

Boxes are labeled but all labels are wrong!

You are allowed to open one box, pick one ball at random, see its colour and put it back into the box, without seeing the colour of the other ball.

How many such operations are necessary to correctly label the boxes?

Asked by Neha on 24 Jun 2021


Replace the (?) with the correct mathematical signs to make the expression equal to 59.

18 ? 12 ? 4 ? 5 = 59

Asked by Neha on 06 Mar 2024

The following question it puts forth you:

25 - 55 + (85 + 65) = ?

Then, you are told that even though you might think it's wrong, the correct answer is actually 5!

Whats your reaction to it? How can this be true?

Asked by Neha on 07 Jun 2024

The first two letters signify a male, the first three letters signify a female, the first four letters signify a great, while the entire world signifies a great woman. What is the word?

Asked by Neha on 18 Mar 2025


Cristina was born in 1888. She just had her 30th birthday today how did that happen?

Asked by Neha on 27 Feb 2024

Hot Articles

Amazing Facts

Rubik’s Cube

The inventor of the Rubik’s Cube didn’t realize he’d built a puzzle until he scrambled it the first time and tried to restore it.