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

Why is 6 afraid of 7?

Asked by Neha on 28 Oct 2024


John's five friends Rachel, Jacob, Phoebe, Joey and Chandler live on the same road.

Rachel lives in the house: A, Jacob lives in the house: B, Phoebe lives in the house: C, Joey lives in the house:D, Chandler lives in the house: E

Mathematically
B*C*D = 1260
B + C + D = 2E
2A = E

The road numbers run from 2 to 222.

Can you tell me the house number of each of John's friends?

Asked by Neha on 10 Sep 2024

Can you find the odd one out from the below words ?

First Second Third Forth Fifth Sixth Seventh, Eighth Nine Ten Eleven Twelve.

Asked by Neha on 14 Apr 2023


Find the missing number in the sequence below:

Find the missing number

Asked by Neha on 03 Sep 2021

A thief enters a store and threatens the clerk, forcing her to open the safe. The clerk says, “The code for the safe is different every day, and if you hurt me you’ll never get the code.” But the thief manages to guess the code on his own. How did he do it?

Asked by Neha on 14 Jun 2025

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


Can you find out the total number of triangles in the given figure?

Triangle Angle

Asked by Neha on 12 Mar 2024

Replace the question mark with the correct number.

2 + 2= 4
3 + 3= 18
4 + 4= 48
5 + 5= ?

Asked by Neha on 15 Aug 2023

You are given four results as below:
1111 = F
2222 = E
3333 = T
Then, can you find out how to code 4444?

Asked by Neha on 29 Nov 2023


A girl says this to her best friend: “I was born in 1955, and I celebrated my 17th birthday last weekend.” Her best friend thinks she’s lying, but she’s actually correct. How is that possible?

Asked by Neha on 12 Jun 2025

Hot Articles

Amazing Facts

Challenging

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