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

Chef Andrea has to light the kitchen stoves to open her restaurant for the day. There are three stoves in the kitchen: A glass stove, a brick stove, and a wood stove. She only has one match. Which does she light up first?

Asked by Neha on 24 Jun 2025


What has 88 keys?

Asked by Neha on 09 Jul 2025

What can jump higher than a building?

Asked by Neha on 24 Oct 2025


The following four words might seem abrupt to you. But you can make them meaningful by just adding vowels.
RDSH
GGPLNT
TMT
NN

Hint: All of them are vegetables.

Asked by Neha on 13 Nov 2025

How many triangles are there on the puzzle below?

Let

Asked by Neha on 10 Feb 2024

What is the below Rebus indicate?

Read the Indication

Asked by Neha on 19 Sep 2023


P is the father of Q and S is the son of R. T is the brother of P and has a daughter U. If R is the sister of P, then what is the relation between U, Q and S?

Who is Who

Asked by Neha on 16 Mar 2021

Can you circle exactly four of these numbers such that the total is twelve?

1 6 1
6 1 6
1 6 1
6 1 6

Asked by Neha on 27 Apr 2023

They came out at night, without being called.
They lost at day, without being stolen.
Who are they?

Asked by Neha on 30 Aug 2021


Four children having five rocks each were playing a game in which they had to throw the rock at a particular solid area in the water. Child 1- Succeeded in throwing three rocks at a solid area but one of the rocks sunk. Child 3 - His aim was so bad that all rocks got sunk. Child 4- He was awesome and none of the rocks got sunk. Child 2 - Was the winner but was struck by a rock in the head and died. Who killed Child 2?

Asked by Neha on 21 Oct 2024

Hot Articles

Amazing Facts

Out of the Box

The phrase “thinking outside the box” was popularised from the solution to a topographical puzzle involving 9 dots in a box shape.