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

If you drop me I’m sure to crack, but give me a smile and I’ll always smile back. What am I?

Asked by Neha on 07 Mar 2025


There was a blind man. He had four socks in his drawer either black or white. He opened it and took out two socks. Now the probability that it was a pair of white socks is 1/2.

Can you find out the probability that he had taken out a pair of black socks ?

Asked by Neha on 19 Mar 2023

Replace all '*' with digits 1, 2, 3, 4, 5 and 6 to make below statement true.

* *
x *
=====
* * *

Asked by Neha on 29 Jul 2021


I am never scared but became petrified and can’t live in a house but would die to make one. What am I?

Asked by Neha on 08 Sep 2025

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

What is more useful when it is broken?

Asked by Neha on 30 Mar 2022


Which flower has two lips?

Asked by Neha on 24 Apr 2024

Take away the whole and some still remain. What is it?

Asked by Neha on 19 Dec 2024

A blonde put eyeliner on her head. Why?

Asked by Neha on 26 Sep 2025


Can you solve the below tricky visual equation?

Visual Equation

Asked by Neha on 29 Jun 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.