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

Find a 9-digit number, which you will gradually round off starting with units, then tenth, hundred etc., until you get to the last numeral, which you do not round off. The rounding alternates (up, down, up ...). After rounding off 8 times, the final number is 500000000. The original number is commensurable by 6 and 7, all the numbers from 1 to 9 are used, and after rounding four times the sum of the not rounded numerals equals 24.

Asked by Neha on 01 Sep 2021


Replace the question mark with the correct number below.

Tree Problem

Asked by Neha on 19 Mar 2024

Can you guess the name of the month by looking the below rebus ?

The Month Rebus

Asked by Neha on 24 Mar 2023


What 8 letter word can have a letter taken away and it still makes a word. Take another letter away and it still makes a word. Keep on doing that until you have one letter left. What is the word?

Asked by Neha on 18 Mar 2022

A large container is kept in open under the rain. Every passing hour, the water collected inside the container becomes double what it was.

In ten hours, the container is filled completely. Can you calculate how long would it have taken to be filled in half?

Asked by Neha on 05 Apr 2024

What does below chemistry rebus means?

What does this say

Asked by Neha on 02 Feb 2024


You are in a land where thirty men and two women were dressed in classic black and white dresses.
They begin to fight as soon as any of them move.

Where are you?

Asked by Neha on 19 Jul 2024

If,

20 % 5 = 24

21 % 7 = 33

42 % 6 = 67

Then;

66 % 6 = ?

Asked by Neha on 11 Jul 2024

As you can see that fifteen matches have been used to form an arrangement. What you have to do is remove any six of them to make them ten.

Make the Word TEN

Asked by Neha on 14 May 2021


I can sizzle like bacon,
I am made with an egg,
I have plenty of backbone, but lack a good leg,
I peel layers like onions, but still remain whole,
I can be long, like a flagpole, yet fit in a hole.

Asked by Neha on 07 Dec 2023

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.