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 man hijacks an aeroplane transporting both passengers(8 of them) and valuable cargo. After taking the cargo, the man demands nine parachutes, puts one of them on, and jumps, leaving the other eight behind. Why did he want eight?

Aeroplane Hijack Riddle

Asked by Neha on 02 Apr 2021


An American nightclub called 'The Coconut Grove' had a terrible fire in which over 400 people died. A simple design flaw in the building led to a high death toll. Subsequently, regulations were changed to ensure that all public buildings throughout the country eliminated this one detail, which proved deadly. What was it?

Asked by Neha on 05 Oct 2024

The Judge knows that Alamgir was killed by his girlfriend Jasline, but the judge is unsure whether to punish her. Why?

Asked by Neha on 18 May 2025


I was speeding and ran through a stop sign, yet two traffic officers who were there do nothing about it.

why?

Asked by Neha on 13 Mar 2023

You are presented with three boxes. One of them has a red ball inside and the other two have a black ball inside each of them. You are asked to pick up the one with red ball and you pick one. Now, one of the other boxes is opened and it is found to have a black ball.

You are presented with a chance to change your box with the one that is left closed. Will you change your box? Why or why not?

Asked by Neha on 15 Apr 2023

Replace the question mark with the correct number below.

Tree Problem

Asked by Neha on 19 Mar 2024


I have a clock(12-hour format) and both the needles of the clock overlap at 12:00.
After how much time, they will overlap again?

Asked by Neha on 06 Jan 2024

The day after tomorrow will be three days before Tuesday. Can you find out what is today?

Asked by Neha on 26 Apr 2023

An office is divided into 8 cubicles. How many of the cubicles are painted if only 1/8 of the cubicles are painted?

Asked by Neha on 23 Feb 2022


There is one thing that goes round the house and also inside the house but never even share a brief touch. What is it?

Asked by Neha on 28 May 2021

Hot Articles

Amazing Facts

Gamers

In 2011, people playing Foldit, an online puzzle game about protein folding, resolved the structure of an enzyme that causes an Aids-like disease in monkeys. Researchers had been working on the problem for 13 years. The gamers solved it in three weeks.