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

I am not alive, but I grow; I don't have lungs, but I need air; I don't have a mouth, but water kills me. What am I?

Asked by Neha on 14 May 2021


John was driving a bus and got stuck when passing through an underpass. Then came Jacob with a needle and got the bus out of the underpass.

What did the boy do?

Asked by Neha on 30 Mar 2025

There was a strange boy who was born before his father. How can this be possible?

Asked by Neha on 06 Jul 2024


While house hunting in London, I came across a very good leasehold property Discussing the lease the landlady told me:

'The property was originally on a 99 years lease and two-thirds of the time passed is equal to four-fifths of the time to come. Now work it out for yourself and see how many years are to go!

Asked by Neha on 18 Apr 2022

Find The Next Number In The Sequence

30 10 15 13 0 16 -15 ?

Asked by Neha on 20 Aug 2024

Name a key which is hardest to turn.

Asked by Neha on 28 Apr 2024


I am eight letters long - "12345678"
My 1234 is an atmospheric condition.
My 34567 supports a plant.
My 4567 is too appropriate.
My 45 is a friendly thank-you.
My 678 is a man's name.

What word am I?

Asked by Neha on 02 Dec 2024

Can you solve the photo plexer logic ?

Logical Rebus

Asked by Neha on 14 May 2021

Your mother’s brother’s only brother-in-law is asleep on your couch. Who is asleep on your couch?

Asked by Neha on 14 Mar 2022


People make me, save me, change me, raise me. What am I?

Asked by Neha on 08 Mar 2025

Hot Articles

Amazing Facts

Gambling

In Canada, a mathematical puzzle must be solved in order to win the lottery to classify it as a “game of skill” not gambling.