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 boxes on a table. One of the box contains Gold and the other two are empty. A printed message contains in each box. One of the message is true and the other two are lies.

The first box says "The Gold is not here".

The Second box says "The Gold is not here".

The Third box says "The Gold is in the Second box".

Which box has the Gold?

Asked by Neha on 07 Feb 2021


If it took eight men ten hours to build a wall, how long would it take four men to build it?

Asked by Neha on 08 May 2023

Be active and find the killer in the picture Riddle below.


Who is Killer

Asked by Neha on 17 May 2021


A man always keeps a spare tyre in his car. To make full use of all the five tyres, he changes the tyres in a manner that for a distance of 1, 00,000 km, each of them runs the same distance.

Can you calculate the distance travelled by each tyre on that journey?

Asked by Neha on 14 Sep 2023

I go up and I go down.
I go up towards the beautiful sky and down toward the green ground.
I am present tense.
I am past tense too
Children love me.

Who Am I?

Asked by Neha on 16 Jan 2025

A woman is sitting in her hotel room and hears a knock at the door. She opens the door to see a man whom she’s never met before. He says, “I’m sorry, I have made a mistake, I thought this was my room.” He then goes down the corridor and into the elevator. The woman goes back into her room and calls security. What made the woman so suspicious of the man?

Asked by Neha on 22 May 2025


A cat had three kittens: Snophy, Topsy and Jorden. What was the mother's name?

Asked by Neha on 27 Jun 2024

Find the next number in the sequence

1, 2, 6, 21, 88, __?

Asked by Neha on 14 Mar 2024

Which of the below owl is odd one out?

Find the odd

Asked by Neha on 22 May 2021


A farmer and his neighbour once went to Emperor Akbar"s court with a complaint. "Your Majesty, I bought a well from him," said the farmer pointing to his neighbour, "and now he wants me to pay for the water."
"That"s right, your Majesty," said the neighbour. "I sold him the well but not the water!"?
The Emperor asked Birbal to settle the dispute. How did Birbal solve the dispute?

Asked by Neha on 10 May 2021

Hot Articles

Amazing Facts

Gamers

In 2011, people playing Foldit, an online puzzle game about protein folding, resolved the structure of an enzyme that causes an Aids-like disease in monkeys. Researchers had been working on the problem for 13 years. The gamers solved it in three weeks.