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 can hear me, but you can't touch or see me.

What am I?

Asked by Neha on 27 Sep 2025


John said, "If yesterday was tomorrow, today would be Friday."

When did John make this statement?

Asked by Neha on 09 Apr 2025

It's a 7-letter word.
If we remove 1 letter from it, it remains the same.
If we remove 2 letters from it, it remains the same.
If we remove 3 letters from it, it remains the same.
If we remove all the letters from it, still it remains the same.
What is it?

Asked by Neha on 30 Jun 2024


A container contains 100 eggs. They can be either fresh or rotten. What is sure is the fact that there is at least one fresh egg in that container.

If you are asked to pick two eggs randomly from the container, at least one of them will be rotten.

Can you calculate how many eggs in that container are fresh?

Asked by Neha on 19 Nov 2023

I make two people out of one. What am I?

Asked by Neha on 29 Mar 2022

Outside a massage parlour, there is a board that reads
"I only massage those who do not massage themselves."

Reading the above statement, does the masseur massage himself?

Asked by Neha on 14 Apr 2024


what does this picture(rebus) riddle means ?

Laugh together

Asked by Neha on 08 Apr 2021

If 1+9+8=1, what is 2+8+9?

Asked by Neha on 02 Oct 2021

John went to buy some expensive, foreign chocolates. He only had Rs 100 with him. When he reached the shop, he got out and know that on those chocolates, there was a 15% import duty and 5% VAT.

How much worth chocolate should he buy so that he can accommodate it in Rs 100?

Asked by Neha on 25 Oct 2024


What is always in front of you but can’t be seen?

Asked by Neha on 10 May 2022

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.