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 mathematical symbol can be put between 5 and 9, to get a number bigger than 5 and smaller than 9?

Asked by Neha on 20 Sep 2021


What goes up but never comes down?

Asked by Neha on 11 May 2022

An old Woman left INR 33,333 to be divided equally among two fathers and two sons and each was to receive INR 11,111.
How was this possible?

Asked by Neha on 11 Jan 2026


A sea diver is a real show-off. He showed everyone that he can hold his breath underwater for 15 minutes.

I went to the diver and told him that I can be underwater for double the time i.e 30 minutes.
He responded that he will give me 100$ if I would be able to do it. I won 100$.

What did I do?

Asked by Neha on 06 Mar 2025

Who can jump higher than a Mountain?

Asked by Neha on 18 Oct 2023

The teacher told the student that if he told a lie then he will be expelled from school and if he told the truth then he still is expelled from school.

What can a student say to prevent his being expelled from school?

Asked by Neha on 17 Nov 2023


What seven-letter word has hundreds of letters in it?

Asked by Neha on 01 May 2022

In a family supper, a grandfather, a grandmother, two fathers, two mothers, four children, three grandchildren, one brother, two sisters, two sons, two daughters, one daughter-in-law, and one mother-in-law need to sit at a table.

There are only seven chairs available at the place. How many more chairs do they have to borrow so that everyone can sit down together for the suppers if everybody requires a separate chair?

Asked by Neha on 09 Nov 2024

How many sides does a circle have?

Asked by Neha on 06 Oct 2021


What can run but never walks, has a mouth but never talks, has a head but never weeps, has a bed but never sleeps?

Asked by Neha on 17 Mar 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.