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

Count the squares in the matchstick puzzle below?

Count the Squares

Asked by Neha on 17 Sep 2023


Which word does the below Plexor means ?

Hard Word Plexor

Asked by Neha on 11 May 2021

A mathematician couple was having a Frappuccino in Starbucks sitting opposite to each other. Suddenly the guy noticed the text written on the paper in front of them and exclaimed that it was wrong. The girl denied it and said it is appropriate. Both are correct. What is written on the paper?

Asked by Neha on 11 Jul 2023


What comes
Once in a Year
Twice in a Month
4 times in a Week
6 times in a Day

Asked by Neha on 24 Feb 2022

I’m tall when I’m young, and I’m short when I’m old. What am I?

Asked by Neha on 07 May 2022

Buy me, smell me or deliver me, I do not change.

Who am I?

Asked by Neha on 19 Feb 2024


I am first found in caves, now prolific online; I am a depiction, a drawing, a symbol, or sign. I will convey whichever mood you could wish; or for that matter, a fist, flask, or fish. What am I?

Asked by Neha on 14 Apr 2022

In the given figure, move three matchsticks so that the resulting figure contains two rectangles.

Matchsticks Rectangles

Asked by Neha on 25 Jul 2024

Can you find a five letter word that is left with only two letters if one is removed?

Asked by Neha on 20 Jul 2021


What number does the below three word/phrase identify and why?
1. Deck
2. Year
3. Singing in the Rain

Asked by Neha on 21 Feb 2024

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.