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

I always drive my customer away.

Who am I?

Asked by Neha on 29 Oct 2024


You have two jars of chocolates labelled as P and Q. If you move one chocolate from P to Q, the number of chocolates on B will become twice the number of chocolates in A. If you move one chocolate from Q to P, the number of chocolates in both the jars will become equal.

Can you find out how many chocolates are there in P and Q respectively?

Asked by Neha on 11 Apr 2023

How many cubic feet of dirt are in a hole of one foot deep, three feet long, and two feet wide?

Asked by Neha on 13 Feb 2021


Take one out and scratch my head, I am now black but once was red. What am I?

Asked by Neha on 29 Jul 2025

In the Wild West, you are challenged into a death match by two bounty hunters nicknamed Golden Revolver (GR) and Killer Boots (KB). You accept the challenge. None of you want to waste any of the bullet and so a certain rules are laid down:

1) All of you will shoot in a given order till the last man standing.
2) Each of you shoots only once upon his turn.
3) If any one of you is injured, the other two will finish him off with an iron rod.
4) The worst shooter of all (which is you) shoots first and the best one shoots at the last.

Now, how will you plan things if you know that you hit every third shot of yours, KB hits every second shot and GR hits every shot ?

Asked by Neha on 15 Dec 2025

A man is shown a portrait painting. He looks closely, then tells, “Brothers and sisters have I none, but that man’s father is my father’s son!” Who is the man in the portrait?

Asked by Neha on 18 Jun 2025


I am not alive, but I grow; I don't have lungs, but I need air; I don't have a mouth, but water kills me. What am I?

Asked by Neha on 14 May 2021

What is the below Rebus indicate?

Read the Indication

Asked by Neha on 19 Sep 2023

On a bright sunny day, two fathers took their son fishing in the lake. Each man and son were able to catch one fish. When they returned to their camp, there were only three fishes in the basket. What happened?

PS: None of the fish were eaten, lost, or thrown back.

Asked by Neha on 05 Mar 2023


Andrew’s doctor gives him three pills and tells him to take one every half hour. How much time will have passed by the time Andrew’s taken all three pills?

Asked by Neha on 22 Jun 2025

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.