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

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


In an office's desk, you find a unique method that shows the current day of the month. Two numbered cubes are used to depict the current date.

Can you find out the numbers on both the cubes so that each date can be mentioned using them?

Please note that you have to use both the cubes to display any date. Thus the 1st day must be represented by 01 and so on.

Asked by Neha on 14 May 2023

What makes this number unique: 8,549,176,320?

Asked by Neha on 08 Jul 2025


John was running from 40 thieves. John has got 3 gold boxes which weigh as 4kg, 2kg, and 1kg respectively. A witty man asked John to stay with him for seven days in exchange for 1kg gold per day. John needs to stay there for seven days and also do not want to give the witty man any advance. How can John pay for his seven days stay?

Asked by Neha on 14 Jul 2023

One is to three as three is to five and five is to four and four is the magic number.
What is the pattern?

Asked by Neha on 04 Oct 2021

If we tell you that there is a relation between the numbers and letters in the given figure, can you analyze it and find the missing letter in the last box?

Relationship in Numbers and Letters

Asked by Neha on 11 Jun 2023


How can you leave a room with two legs and return with six legs?

Asked by Neha on 14 May 2021

There are a hundred statements.

First person says: At least one of the statements is false.

Second person says: At least two of the statements is false.

Third person says: At least three of the statements are false.

Fourth person says: At least four of the statements are false.

..

..

..

Hundredth person says: At least a hundred of the statements are false.

Analysing it, how many statements do you think are false and how many are true?

Asked by Neha on 18 Feb 2021

How many times do a clock's hands overlap in a day ?

Clock Hand Overlapping

Asked by Neha on 31 Mar 2021


I am weightless, but you can see me. Put me in a bucket, and I'll make it lighter. What am I?

Asked by Neha on 23 Nov 2025

Hot Articles

Amazing Facts

Gambling

In Canada, a mathematical puzzle must be solved in order to win the lottery to classify it as a “game of skill” not gambling.