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

Sachin bought a car with a strange 5 digit numbered plate.The water image of the number is 78633 more than my car number. All the digits of car number are distinct.

What is the original number on number plate?

Car Number Riddle

Asked by Neha on 13 Mar 2021


There are two candles. Both will only burn exactly for an hour. How will you use these two candles to measure forty-five minutes?

Asked by Neha on 07 May 2024

What's the only room from which no one can enter or leave

Asked by Neha on 15 Apr 2024


We know that the number 7 is the prime followed by a cube. Which next number is also a prime followed by a cube?

Asked by Neha on 05 Apr 2026

What Time Should the last watch show in the below figure?

Time in the Clock

Asked by Neha on 21 Sep 2024

A certain street contains 100 buildings. They are numbered from 1 to 100. How many 9's are used in these numbers?

Asked by Neha on 29 Mar 2024


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

He loves to dance, twist and prance, he shakes his tail, and as a way he sails, wingless he flies into the sky. What is he?

Asked by Neha on 19 Aug 2025

What question can you never answer yes to?

Asked by Neha on 09 May 2022


A man who was outside in the rain without an umbrella or hat didn’t get a single hair on his head wet. Why?

Asked by Neha on 16 May 2022

Hot Articles

Amazing Facts

Jigsaw puzzles

Jigsaw puzzles soared in popularity during the great depression, as they provided a cheap, long-lasting, recyclable form of entertainment.