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

In a school, there are four subjects. Seventy percent of students study English, seventy five percent of students study Science, eighty five percent of students study Mathematics and eighty percent of students study Spanish.

Can you calculate the percentage of students that study all four subjects?

Asked by Neha on 16 Apr 2023


A mathematics teacher took exams for his students. Out of the total students, 25% passed both the tests included in the exam. However, only 42% were able to clear the first test.

Can you find out the percentage of those students who passed the first test and also passed the second test?

Asked by Neha on 21 Jan 2025

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


What does below science rebus mean?

Ag Ag Ag
Ag SPOON Ag
Ag Ag Ag

Asked by Neha on 11 Oct 2023

You have a 12 liters jug full of water. You have two empty 8 liters and 5 liters jug. How can you divide the water into two equal parts using these jugs?

Asked by Neha on 21 Dec 2020

There are four people in a house. A fireman, an athlete, an old woman, and a drunk guy. The house catches fire and before the fact is known, it is too late. All they know is that the entire house is in flames and it will collapse exactly after twelve minutes. Now they can move out of the house but for that, they will have to pass the hallway which is entirely blazing with flames. Thus to move, one must carry a fire extinguisher to keep the flames away. Seeking the burnt wooden floor, only two people can run through that hallway at one time. But for others to go, one must return back with the fire extinguisher. The fireman is trained for such tasks and can run through the hallway in a minute. The athlete can make it in a couple of minutes. The old woman can run slowly and will cover the hallway in four minutes. The drunk guy will take five minutes to run through it. If all of them can make it through the hallway in twelve minutes, all of them will be saved. When two move together, they will run at the speed of the slower ones.

How will all four of them manage to run to safety?

Asked by Neha on 02 Jun 2023


It is a six-letter word.
The first four letters are me.
The second and last letters are the same.
The fourth second and last letter is payment.

Who is it?

Asked by Neha on 07 Feb 2024

A swan sits at the center of a perfectly circular lake. At an edge of the lake stands a ravenous monster waiting to devour the swan. The monster can not enter the water, but it will run around the circumference of the lake to try to catch the swan as soon as it reaches the shore. The monster moves at 4 times the speed of the swan, and it will always move in the direction along the shore that brings it closer to the swan the quickest. Both the swan and the the monster can change directions in an instant.
The swan knows that if it can reach the lake's shore without the monster right on top of it, it can instantly escape into the surrounding forest.

How can the swan successfully escape?

Asked by Neha on 22 Apr 2022

As shown in the picture below, we can see a boy hanging on the tree branch to save his life. There are various ways in which he can die like1. A snake hanging toward the right waiting to bite the boy.2. A roaring Lion near the tree.3. Two crocodiles are ready to attack if the boy reaches near water. The tree is chopped to some extent, so can fall as if he moves a lot. Can you give this boy an escape plan?

The Escape Plan

Asked by Neha on 06 Jul 2023


If all the below statements are true

1. Gianni was either in Italy or France in 1997.
2. If Gianni did not kill Versace, Hilton must have killed him.
3. If Versace died of suffocation, then either Gianni killed him or Versace committed suicide.
4. If Gianni was in Italy in 1997, then Gianni did not kill Versace.
5. Versace died of suffocation, but he did not kill himself.

Who killed Versace and where was Gianni in 1997?

Asked by Neha on 11 Jan 2024

Hot Articles

Amazing Facts

Word ladder puzzle

The word ladder puzzle was invented by Lewis Carroll, author of Alice’s Adventures in Wonderland.