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

Count The number of F's in the paragraph below:

"FINISHED FILES ARE THE RESULT OF YEARS OF SCIENTIFIC STUDY COMBINED WITH THE EXPERIENCE OF YEARS"

Test your Eye

Asked by Neha on 25 Mar 2021


A girl has as many brothers as sisters, but each brother has only half as many brothers as sisters. How many brothers and sisters are there in the family?

Asked by Neha on 03 Mar 2022

The more of this there is, the less you see. What is it?

Asked by Neha on 19 May 2022


What will be the best approach to finding all the prime numbers less than 75 that leave an odd reminder when we divide them with 5?

Asked by Neha on 12 Jul 2021

What is common among 11, 69, and 88?

What is common here

Asked by Neha on 15 Sep 2023

Decode below rebus
D
N
A
T
S , D

Asked by Neha on 14 May 2021


In the given figure, you can see that four match sticks are used to form a square. Can you form five squares by using six matches?

Make Six Square

Asked by Neha on 14 May 2021

The husband and wife were jogging in the morning. To match every two steps of the husband, the wife required three steps. If Both of them start with the here right foot. After how many steps do their left foot be together?

Asked by Neha on 08 Feb 2025

What kind of band never plays music?

Asked by Neha on 14 Jul 2025


what does the below rebus means?

Funny Love

Asked by Neha on 31 Aug 2023

Hot Articles

Amazing Facts

Crossword puzzles

In the 1920s, people feared that crossword puzzles would contribute to illiteracy.