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

P is the father of Q and S is the son of R. T is the brother of P and has a daughter U. If R is the sister of P, then what is the relation between U, Q and S?

Who is Who

Asked by Neha on 16 Mar 2021


In a classic wine shop, the list of three most popular wines are:
- The cost of 1 French wine bottle: 500$
- The cost of 1 German wine bottle: 100$
- The cost of 20 Dutch wine bottles: 100$

John entered the wine shop and he needs to buy
- All three types of wine bottles.
- Needs to buy Dutch wine bottles in multiples of 20.
- Need to buy 100 wine bottles in total.

John has only 10000$. How many wine bottles of each type, John must buy?

Asked by Neha on 19 Aug 2023

I know a 5-digit number having a property that With a 1 after it, it is three times as large as it would be with a one before it.

Guess the number?

Asked by Neha on 06 Apr 2025


There is a family that live in a round house. The two parents go out for a movie and leave a babysitter to watch their son. They come back and the kid was not there. Some one kidnapped him. The maid said she was cleaning in a corner. The cook said he was making pizza. The babysitter said she was getting a board game. Who kidnapped him.

Asked by Neha on 16 Mar 2022

Twice ten are six of us,

Six are but three of us,

Nine are but four of us;

What can we possibly be?

Would you know more of us?

Twelve are but six of us,

Five are but four, do you see?

What are we?

Asked by Neha on 26 Dec 2020

In the given picture, you can find two letters missing. When two particular letters are placed in the missing spots, you get an eight-letter word while reading in the anti-clockwise direction. Can you find out the missing letters and the missing word eventually?

Picture Puzzle

Asked by Neha on 23 Dec 2024


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

When did John make this statement?

Asked by Neha on 09 Apr 2025

What brings you down but never up?

Asked by Neha on 22 Oct 2021

How many times can you subtract the number 5 from 25?

Asked by Neha on 05 Oct 2021


A girl was sitting in her hotel room when she heard a knock on the door. She opened the door and found that a man was standing outside.
The man said, "Oh! I am really sorry, I thought this was my room."
He then walked through the corridor to the elevator. The girl did not know the man. She closed her door and called security asking them to apprehend the man.
What made her suspicious of that man? He might have been genuinely mistaken.

Asked by Neha on 28 Aug 2023

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.