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

2, 3, 5, 9, 17, _ What is the next number in the sequence?

Asked by Neha on 09 Oct 2021


A bridge is about to collapse. There are four people P, Q, R and S on one of the sides. Before the bridge collapses, they want to cross it. Now since the bridge is too weak, it can only stand the weight of two people at a time. Also, it is night time and nothing is visible. They have just one torch with them.

Now P takes one minute to cross the bridge, Q takes two minutes to cross, R takes five minutes to cross and S takes ten minutes to cross.

The bridge will collapse in seventeen minutes. How will they be able to cross the bridge before it collapses?

Asked by Neha on 01 Apr 2024

Can you decipher the below rebus?

PBLUESAISNUERSES

Asked by Neha on 10 Aug 2023


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

Three doctors said that Bill was their brother. Bill says he has no brothers. How many brothers does Bill actually have?

Asked by Neha on 01 Mar 2022

Quickly Solve this riddle

7 - 4 + 3 * 0 + 1 = ?

Asked by Neha on 04 Dec 2024


What word is pronounced the same if you take away four of its five letters?

Asked by Neha on 20 Oct 2021

What has six faces, but does not wear makeup, has twenty-one eyes, but cannot see?

Asked by Neha on 14 Sep 2021

A cricket has 6 legs, a squirrel has 4 legs and a spider has 8 legs.

In a local zoo, it was found that the total number of legs is 612. Also, there are equal number of each of the above animals/insects.

Can you find out how many animals are there in the zoo?

Asked by Neha on 06 Feb 2021


Use only one mathematical symbol and all numbers (0-9) to get a sum of 99

Asked by Neha on 07 Feb 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.