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

Identify The phrase in the picture.

Face the Word

Asked by Neha on 31 Jan 2024


If a wheel has 54 spokes, how many spaces are there between the spokes?

Asked by Neha on 27 Sep 2021

Today, I celebrated my 32nd birthday but I was born in 1972.
How is this possible?

Asked by Neha on 01 May 2025


You walk into a room and see a bed. On the bed, there are two dogs, five cats, a giraffe, six cows, and a goose. There are also three doves flying above the bed. How many legs are on the floor?

Asked by Neha on 23 May 2025

A small town is visited by an ice-cream truck every day. On the first day of February, the truck visits as usual and 5 children, one from each of the first 5 houses on the street buys an ice cream that is of the different flavor from each other along with a completely different topping.

Go through the details below and find out which child lives in which house and bought which ice-cream flavor with which topping:

1. Jim lives between the child who bought the Raspberry topping and the child who bought mango ice cream.

2. Joyce, whose house has an even number, bought the cherry topping. Nancy does not live next to Joyce.

3. The blackcurrant ice cream had no topping.

4. The child who lives in house number 2 had the butterscotch ice cream. The child in house number 3 did not have chocolate ice cream.

5. Mike had banana ice cream. He hates banana cherry.

6. The child who had the cashew topping lives in house number 5. Dustin does not live in house number 4.

Please note that the odd numbered houses and the even numbered houses are located on the exactly opposite sides of the street.

Asked by Neha on 27 Jul 2021

You can see it everyday, But cannot touch it at will. What is it?

Asked by Neha on 17 May 2021


There is a box full of marbles,
all but two are blue,
all but two are green,
and all but two are red.

How many marbles are in the box?

Asked by Neha on 01 Jan 2024

It is always ahead of me yet I can never see it. What is it?

Asked by Neha on 01 Apr 2023

In particular commonwealth games, a female participant won silver and gold medals for a single event.

How can this be possible?

Asked by Neha on 26 Feb 2024


A Scientist was fifty years old in the year 2000 but he was forty years old in the year 2010. How can this be possible?

PS: It has a logical answer.

Asked by Neha on 20 Dec 2023

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.