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

You have a basket containing ten apples. You have ten friends, who each desire an apple. You give each of your friends one apple.
Now all your friends have one apple each, yet there is an apple remaining in the basket.
How?

Asked by Neha on 18 Sep 2021


I add 5 to 9 and get 2. The answer is correct, so what am I?

Asked by Neha on 04 Aug 2025

What numbers should go on the bottom line?
3 6 9 15
8 2 10 12
11 8 19 27
19 10 29 39
? ? ? ?

Asked by Neha on 29 Apr 2022


Find the next number in the series.
1 10 24 43 67 ?

Asked by Neha on 26 Jun 2024

Things are just as they seem, right? Well, check again.
Can you count the number of tigers in this picture ?

Count The Tigers

Asked by Neha on 21 May 2021

Can you fill the blank with the correct number?

6 30 870 756030 _____

Asked by Neha on 20 Feb 2023


It was a dark stormy night and a couple were in a car driving madly to a city. The car broke down and the husband had to go get help from someone who spoke his language. He was afraid to leave his wife alone in the car so he locked the car before leaving. When he came back, the car was in the same state as he had left it but his wife was dead, there was blood on the floor and there was a stranger in the car. What happened?

Asked by Neha on 02 Aug 2024

Can you think of any three-dimensional shape that comprises of exactly two surfaces?

Asked by Neha on 27 Mar 2025

A chicken farmer has figured out that a hen and a half can lay an egg and a half in a day and a half. How many hens does the farmer need to produce one dozen eggs in six days?

Asked by Neha on 30 Dec 2020


Lady Gaga is pregnant and currently has 6 daughters

1. Dorry 2. Rebeka 3. Michael 4. Faniya 5. Sophia 6. Lavanya

What will she name her next child girl? (Think Logical)

A. Neema B. Tanya C. Tisha D. Jenniffer

Asked by Neha on 28 Aug 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.