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 am the beginning of everything, the end of everywhere. I'm the beginning of eternity, the end of time and space. What am I?

Asked by Neha on 21 Mar 2025


Which word does the below Plexor means ?

Hard Word Plexor

Asked by Neha on 11 May 2021

Two in a corner, one in a room, zero in a house, but one in a shelter. What is it?

Asked by Neha on 22 Mar 2025


How many letters are in the alphabet?

Asked by Neha on 01 Sep 2025

A man is looking at a photograph of someone. His friend asks who it is. The man replies, “Brothers and sisters, I have none. But that man’s father is my father’s son.” Who was in the photograph?

Asked by Neha on 04 Jul 2025

You have a basket containing ten apples. You have ten friends, who each desire an apple. You give each of your friends one apple.
Now all your friends have one apple each, yet there is an apple remaining in the basket.
How?

Asked by Neha on 18 Sep 2021


Can you make four (4) nines (9) equal 100?

Asked by Neha on 16 Jul 2023

10 people came into a hotel with 9 rooms and each guest wanted his own room. The bellboy solved this problem.
He asked the tenth guest to wait for a little with the first guest in room number 1. So in the first room, there were two people. The bellboy took the third guest to room number 2, the fourth to number 3, ..., and the ninth guest to room number 8. Then he returned to room number 1 and took the tenth guest to room number 9, still vacant.
How can everybody have his own room?

Asked by Neha on 21 Aug 2023

Distances from you to certain cities are written below.

BERLIN 200 miles

PARIS 300 miles

ROME 400 milesAMSTERDAM 300 miles

CARDIFF ??? miles

How far should it be to Cardiff ?

Asked by Neha on 25 Feb 2021


Can you count the number of squares in the given picture?

How Many Squares you Find

Asked by Neha on 13 Feb 2024

Hot Articles

Amazing Facts

No Solution

In 2007, a puzzle was released and $2 million prizes were offered for the first complete solution. The competition ended at noon on 31 December 2010, with no solution being found. Wiki