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

John buys rice at Rs.60/kg from Britain and then sells them at Rs.5/kg in India. As a result of this, he becomes a millionaire. How come?

Asked by Neha on 22 Jun 2023


P is the father of Q and S is the son of R. T is the brother of P and has a daughter U. If R is the sister of P, then what is the relation between U, Q and S?

Who is Who

Asked by Neha on 16 Mar 2021

In the picture that is attached with this question, you can find a square which comprises of four little squares inside it. Consider this square to be made with matchsticks. You have to remove two matchsticks such that only two squares remain instead of five.How will you do it ?

Make Two Square

Asked by Neha on 14 May 2021


There are three identical triplets sisters. Demi is the oldest of them all and she always speaks the truth. Diana is the next one who is a liar always. Drew, the youngest of them all speaks both truth and lies randomly.

On a rainy day, a family friend Victor visited them. Since there were starkly identical, he was not able to recognize them. Thus to clarify, he asked one question to each one of them.

He started with the one standing on the left and asked, 'Which sister is in the middle of you three?' She answered, 'That's Demi.'

Then, he asked the one standing in the middle, 'What is your name?' She answered, 'I am Drew.'

Finally, he asked the one standing on the right, 'Who is standing in the middle?' She answered, 'She is Diana.'

Victor was left baffled. He asked the questions three times and received different answers every time.

Can you tell who was who?

Asked by Neha on 19 May 2023

1. Where does Easter come from before Valentine's Day?

2. Do you know what is in the middle of Valentine's?

3. What did the lady bee say to the man bee on the occasion of Valentine's Day

Asked by Neha on 24 Oct 2024

A Car is crossing a bridge 2 miles long. The bridge can only hold 10000 lbs, which is the exact weight of the car. The Car makes it half way across the bridge and stops. A bird lands on the car. Does the bridge collapse? Explain.

Asked by Neha on 31 May 2024


How can you drop a raw egg from a height onto a concrete floor without cracking it?

Asked by Neha on 27 Jan 2021

What always comes into a house through the keyhole?

Asked by Neha on 08 Mar 2022

In front of you, there are 9 coins. They all look absolutely identical, but one of the coins is fake. However, you know that the fake coin is lighter than the rest, and in front of you is a balance scale. What is the least number of weightings you can use to find the counterfeit coin?

Asked by Neha on 20 Nov 2025


Can you count the number of triangles in the picture below?

Count the Triangle

Asked by Neha on 11 Apr 2024

Hot Articles

Amazing Facts

Challenging

There is a cryptic organization called Cicada 3301 that posts challenging puzzles online, possibly to recruit codebreakers and linguists.