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

There are three houses in a straight row. One is red, one is blue, and one is white. The red house is left of the middle. The blue house is right of the middle. Where's the white house?

Asked by Neha on 25 Jul 2021


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

What has many teeth, but cannot bite?

Asked by Neha on 15 Jul 2025


What goes up but never comes down?

Asked by Neha on 26 Oct 2021

If in a car race, the man who came two places in front of the last man finished one ahead of the man who came fifth, how many contestants were there?

Asked by Neha on 03 Feb 2023

You Throw The Outside, Cook The Inside
Eat The Outside, Throw The Inside.

What Is It?

Asked by Neha on 27 Jun 2023


There are are five things wrong with this sentence; only geniuses will be able to to spot all of the mitstakes

Find the Mistakes

Asked by Neha on 12 Aug 2021

A red house is made out of red bricks. A yellow house is made out of yellow bricks. And, a blue house is made out of blue bricks. So, what is a greenhouse made of?

Asked by Neha on 30 Jun 2025

My first is in chocolate but not in ham. My second is in cake and also in jam. My third at tea time is easily found. Altogether, this is a friend who is often around. What is it?

Asked by Neha on 26 May 2025


A bus driver was heading down a street in Mexico. He went right past a stop sign without stopping, he turned left where there was a "no left turn" sign, and he went the wrong way on a one-way street. Then he went on the left side of the road past a cop car. Still - he didn't break any traffic laws. Why not?

Asked by Neha on 14 May 2021

Hot Articles

Amazing Facts

Challenging

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