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 see a boat filled with people, yet there isn’t a single person on board. How is that possible?

Asked by Neha on 16 May 2022


Lifeless eyes on my smiling face and watch your child's sleeping place. In their dreams they hold me tight. What am I?

Asked by Neha on 17 Oct 2021

Usually, a boxing match consists of twelve rounds. In a particular friendly match between two heavyweights, the match was finished in the ninth round itself as one of the boxers knocked out the other one.

But, in that fight, no man threw even a single punch.

How can this be possible?

Asked by Neha on 28 Jan 2024


A blonde put eyeliner on her head. Why?

Asked by Neha on 26 Sep 2025

I travel all around the world but always stay in the corner. What am I?

Asked by Neha on 09 Mar 2022

There are forty elephants and they have forty-fore heads. How can this be possible?

Asked by Neha on 16 Apr 2024


A girl was standing near the window thinking something. All of a sudden she decides something and throws something out of the window. She dies very soon after throwing it. She was perfectly healthy and had no disease or allergy. No one killed her and she did not commit suicide.

Can you think of any possible explanation that is logical as well for what happened there?

Asked by Neha on 25 Aug 2021

Imagine you are in a room with no windows or doors. How will you get out?

Asked by Neha on 25 Oct 2025

How can you make the following equation true by drawing only one straight line: 5+5+5=550 ?

Asked by Neha on 24 Apr 2021


My location can be determined by the below rebus.
So where am i ?

Find my Location

Asked by Neha on 15 Aug 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.