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 man love more than life, and hate more than death or mortal strife; that which satisfied men want; the poor have, and the rich require; the miser spends, the spendthrift saves, and all men carry to their graves?

Asked by Neha on 23 Jun 2025


An infinite number of mathematicians are standing behind a bar. The first asks the barman for half a pint of beer, the second for a quarter pint, the third an eighth, and so on. How many pints of beer will the barman need to fulfill all mathematicians' wishes?

Asked by Neha on 26 Feb 2023

There was once a college that offered a class on probability applied to the real world. The class was relatively easy, but there was a catch. There were no homework assignments or tests, but there was a final exam that would have only one question on it. When everyone received the test paper it was a blank sheet of paper with a solitary question on it: 'What is the risk?'.Most students were able to pass, but only one student received 100% for the class! Even stranger was that he only wrote down one word!
What did he write?

Asked by Neha on 03 Sep 2023


Do You See It?

Do You See It?

Asked by Neha on 17 Feb 2022

There is an English word that can be used up to four times in a row without modifying the spelling and form a valid grammatical sentence.

Do you know what word is that?

Asked by Neha on 18 Aug 2024

John was working on a Chemical Mixture whose weight comprise 90% liquid and 10% solid. The total weight of the mixture is 20 pounds. After a while, John noticed that some of the liquid evaporated and now the liquid comprises just 50% of the weight.

What is the weight of the chemical mixture now?

Asked by Neha on 12 Feb 2024


A man was just doing his job when his suit was torn. Why did he die three minutes later?

Asked by Neha on 15 Sep 2021

What 8 letter word can have a letter taken away and it still makes a word. Take another letter away and it still makes a word. Keep on doing that until you have one letter left. What is the word?

Asked by Neha on 18 Mar 2022

While handling a project, the landscaper is asked by the owner of the mansion that he wants four trees in front of his mansion that are exactly equidistant from each other.

How will he do it?

Asked by Neha on 20 Nov 2023


What is the next number in the series?

15 29 56 108 208 ?

Asked by Neha on 27 Dec 2024

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.