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 plane crashed between the border of Mexico and America. Where do you bury the survivors?

Asked by Neha on 17 May 2021


The two towns are exactly 100 km apart. John leaves City A driving at 30 km/hr and Jacob leaves City B half an hour later driving at 60 km/hr. Who will be closer to City A when they meet?

Asked by Neha on 11 Nov 2024

All of you like to eat me. I am a five-lettered word. Remove the first two and I turn into an infamous animal. Remove just the first and I become a heinous crime. Remove the first and the last and you can groove on me.

Can you guess who am I?

Asked by Neha on 01 Apr 2026


Can you find the six hidden animals in the picture below?

Find The Hidden Animals

Asked by Neha on 21 Jun 2024

Below is the sum of symbols in each row and column in the figure. Analyzing the figure, can you find out the value of the symbols?

Value of the Symbols

Asked by Neha on 12 Aug 2023

There was an aeroplane crash, every single person died, but two people survived. How is this possible?

Asked by Neha on 28 Dec 2023


This is a simple one. You just have to count the number of Fs in the given sentence.

Finished Files are the result of years of scientific study combined with the experience of years.

How many did you count?

Asked by Neha on 02 Oct 2024

There is something which is always coming but never arrives?

Asked by Neha on 08 Mar 2024

There is a place where if I stand up straight, I will still be considered sideways.

Asked by Neha on 05 May 2025


I was born in a small house and I live in it all alone. No windows and no doors have been assigned to my house. The only way I can go out is by breaking through the walls of my house.

Who am I?

Asked by Neha on 22 Jan 2026

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.