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 have an apple tree , number of apple in this tree get doubles every week.

On 30th week , the tree gets completely filled with apples :-)



Can you tell me , on what week does my tree is half covered with apples ?

Asked by Neha on 28 Feb 2021


Which of the following words don't belong in the group and why?
CORSET, COSTER, SECTOR, ESCORT, COURTS

Asked by Neha on 16 Oct 2021

What two things can you never eat for breakfast?

Asked by Neha on 17 May 2021


A man and a dog were going down the street. The man rode, yet walked. What was the dog’s name?

Asked by Neha on 10 Mar 2022

What does Alexander the Great and Winnie the Pooh have in common?

Asked by Neha on 17 Jul 2025

Can you find the missing number in the third row?
35 20 14
27 12 18
5 2 ?

Asked by Neha on 26 Jun 2023


I am 5 letters long.
My first two tell you who I am
My first 3 could be a medicine
My last three reversed could be a young boy.
My 4th, 3rd and 2nd in that order could be a fruit drink.
If you have me you may hang me round your neck
WHAT AM I ?

Asked by Neha on 14 May 2021

A man desired to get into his work building, however he had forgotten his code.
However, he did recollect five pieces of information
* Fifth number + Third number = 14
* The fourth number is one more than the second number.
* The first number is one less than twice the second number.
* The second number and the third number equals 10.
* The sum of all five numbers is 30.

What is the code ?

Asked by Neha on 14 May 2021

A boy was driving a car, a girl took a lift from her. She asked his name. The boy said - my name is hidden in my car’s number, find it if you can. After this, she got down Car number was [ WV733N ] Can you guess the name now?

Asked by Neha on 22 Mar 2024


I travel all around the world but always stay in the corner. What am I?

Asked by Neha on 09 Mar 2022

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.