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 board a train. The train will have to enter a tunnel soon. You are claustrophobic. Which place is the best for you to sit?

Asked by Neha on 17 Nov 2024


John can fit six large chocolate boxes or nine small chocolate boxes into a carton. How many cartons will he require to put sixty-six chocolate boxes into?

Asked by Neha on 25 May 2024

I am a type of vehicle that has two wheels and is powered by humans. What am I?
Hint 1: You can ride me for exercise.
Hint 2: I am environment-friendly.

Asked by Neha on 01 Oct 2025


Find the hidden panda in the image below.

Find The Panda

Asked by Neha on 13 Jun 2024

There is one thing that goes round the house and also inside the house but never even share a brief touch. What is it?

Asked by Neha on 28 May 2021

If two's company, and three's a crowd, then whats four and five ?

Complicated counting

Asked by Neha on 22 Feb 2021


A thief is convicted in Mexico. He gets the death penalty. The judge allows him to say the last sentence to determine how the penalty will be carried out. If the thief lies, he will be hanged, if he speaks the truth he will be beheaded. The thief tells the last sentence and to everybody's surprise some minutes later he is set free because the judge cannot determine his penalty. What did the thief say?

Asked by Neha on 07 Sep 2024

I can be cracked, made, told, and played. What am I?

Asked by Neha on 16 Aug 2025

Three friends named Mr. Black, Mr. Yellow and Mr. Green enter a pub on a weekend night. They are wearing either a Black, Yellow or Green shirt.

Mr. Yellow says to them, 'Did you notice that we all are wearing different color shirts than our names?'

To this, the man who was wearing the Green shirt said. 'Wow, thats right.'

Can you identify who is wearing which colour shirt ?

Asked by Neha on 28 Jul 2021


There is something which is always coming but never arrives?

Asked by Neha on 08 Mar 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.