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

A network of 20 x 10 squares is given to you.

Can you calculate how many unique squares and rectangles can be formed combining two or more individual squares ?

Asked by Neha on 24 Jan 2021


Can you write down eight eights so that they add up to one thousand?

Asked by Neha on 02 Apr 2022

Create a number using only the digits 4,4,3,3,2,2,1 and 1. So i can only be eight digits. You have to make sure the ones are separated by one digit, the twos are separated by two digits the threes are separated with three digits and the fours are separated by four digits

Asked by Neha on 16 Sep 2021


I went to the bookshop and spent one-half of the money that was in my purse.

When I came out, I found that I had as many cents as I had dollars and half as many dollars as I had cents when I went in. Find the money in my purse when I entered the store.

Asked by Neha on 03 Nov 2024

Known by all without exception, Forever here, for your protection, Sometimes strong, sometimes weak, Right after the night I come - hot and chic. And while millions of miles away, I always get to you, I find my way. No life around could do without me, Can you guess what I might be?

Asked by Neha on 05 Apr 2022

There is a bag which have 21 blue balls and 23 red balls. You also have 22 red balls outside the bag. Randomly remove two balls from the bag. * If they are of different colors, put the blue one back in the bag. * If they are the same colour, take them out and put a red ball back in the bag. Repeat this until only one ball remains in the bag. What is the color of the sole ball left in the bag ?

Asked by Neha on 13 Mar 2026


A man was found murdered on Sunday morning. His wife immediately called the police. The police questioned the wife and staff and got these alibis: The Wife said she was sleeping. The Cook was cooking breakfast. The Gardener was picking vegetables. The Maid was getting the mail. The Butler was cleaning the closet. The police instantly arrested the murderer. Who did it and how did they know?

Asked by Neha on 17 May 2021

It is always ahead of me yet I can never see it. What is it?

Asked by Neha on 01 Apr 2023

I have a five and a three-gallon jar. Assuming there is an infinite supply of water, how can I measure one-gallon water?

Easy Gallon Riddle

Asked by Neha on 21 May 2021


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

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.