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

Below, you will find the mathematical proof that 10 equals 9.99999?. But is that possible or there is something wrong about it? Can you find the error?

x = 9.999999...
10x = 99.999999...
10x - x = 90
9x = 90
x = 10

Asked by Neha on 27 Aug 2021


What have one eye but still cannot see?

Asked by Neha on 27 Dec 2025

12345 a famous South Indian actor
567 is a path in jumbled form
8 & 10 are same letters
9 is one among the first six alphabets.
WHO AM I?

Asked by Neha on 14 May 2021


You are provided with a grid (as shown in the picture). Can you fill the squares with numbers 1-8 in a manner that none of the two consecutive numbers are placed next to each other in any direction (vertically, horizontally or diagonally?)

Fill The Grid

Asked by Neha on 22 Sep 2025

Can you start the fire using two pieces of wood?

Asked by Neha on 04 Sep 2024

A man walked into a pub and went straight towards the Barman. He asked for a dirty martini from the Barman. The Barman thought something and then pulled out a pistol from his drawer and aimed it directly at the man. Why did he do that?

Asked by Neha on 09 Nov 2023


There are three identical triplets sisters. Demi is the oldest of them all and she always speaks the truth. Diana is the next one who is a liar always. Drew, the youngest of them all speaks both truth and lies randomly.

On a rainy day, a family friend Victor visited them. Since there were starkly identical, he was not able to recognize them. Thus to clarify, he asked one question to each one of them.

He started with the one standing on the left and asked, 'Which sister is in the middle of you three?' She answered, 'That's Demi.'

Then, he asked the one standing in the middle, 'What is your name?' She answered, 'I am Drew.'

Finally, he asked the one standing on the right, 'Who is standing in the middle?' She answered, 'She is Diana.'

Victor was left baffled. He asked the questions three times and received different answers every time.

Can you tell who was who?

Asked by Neha on 19 May 2023

John, a 5-year-old boy, was really fond of the chocolates. He asked his Mother to give him some money to buy his favourite chocolates. His Mother gave him $45. He went to the shopkeeper and asked, "How much is one chocolate for?". The shopkeeper said $3 for one chocolate. Also, if you give me the wrappers of three chocolates, I will give you one for the exchange.
In total, how much chocolate could John eat?

Asked by Neha on 02 Feb 2026

Eight Chelsea player makes the following statements :

1. Seven of us are lying here.
2. Six of us are lying here.
3. Five of us are lying here.
4. Five of us are lying here.
5. Four of us are lying here.
6. Three of us are lying here.
7. My name is Torres.
8. My name is Lampard.

The last two are Lampard and Torres or maybe Torres and Lampard.
So can you deduce which of the last two is Lampard or Torres?

Asked by Neha on 14 Oct 2024


What is the four-digit number in which the first digit is one-third the second, the third is the sum of the first two, and the last is three times the second?

Asked by Neha on 15 Sep 2025

Hot Articles

Amazing Facts

Jigsaw puzzles

Jigsaw puzzles soared in popularity during the great depression, as they provided a cheap, long-lasting, recyclable form of entertainment.