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

Today, I celebrated my 32nd birthday but I was born in 1972.
How is this possible?

Asked by Neha on 01 May 2025


If in a car race, the man who came two places in front of the last man finished one ahead of the man who came fifth, how many contestants were there?

Asked by Neha on 03 Feb 2023

These types of puzzles are known as charades. What you have to do is to find two words that are referred to in the first stanza and the second stanza and put them together to form the third word in the third stanza.

Just for example, if my first refers to 'off' and my second refers to 'ice', then my whole will be the 'office'.

My first is present - future's past -
A time in which your lot is cast.

My second is my first of space
Defining people's present place.

My whole describes a lack of site -
A place without length, breadth, or height.

Asked by Neha on 07 Dec 2024


I taste better than I can smell. Who am I?

Asked by Neha on 30 Dec 2023

A hen, a dog, and a cat are stolen. Three suspects are arrested named Robin, Steve, and Tim. The police are sure that all of them stole one of the animals but they don't know who stole which animal.

Sherlock Holmes is appointed to identify and is provided with the following statements from the investigation.

Robin - Tim stole the hen
Steve - Tim stole the dog
Tim - Both Robin and Steve are lying. I neither stole a hen nor a dog.

Sherlock is somehow able to deduce that the man who stole the cat is telling a lie and the man who stole the hen is telling truth.

Can you help him find out who stole which animal?

Asked by Neha on 22 Jun 2024

People put me on the table and cut me but do not eat me. What am I?

Asked by Neha on 09 Jul 2024


Your job is to measure 45 minutes if you have only two cords and matches to light the cords.

1. The two cords are twisted from various materials, so their different segments can burn at different rates.
2. Each cord burns from end to end in exactly one hour.

Describe your way of measuring the 45 minutes.

Asked by Neha on 15 May 2024

A boy was at a carnival and went to a booth where a man said to the boy, "If I write your exact weight on this piece of paper then you have to give me $50, but if I cannot, I will pay you $50." The boy looked around and saw no scale so he agrees, thinking no matter what the carny writes he'll just say he weighs more or less. In the end the boy ended up paying the man $50. How did the man win the bet?

Asked by Neha on 26 Jan 2023

Three people are in a room. Ronni looks at the Nile. The Nile looks at Senthil. Ronni is married but Senthil is not married. At any point, is a married person looking at an unmarried person? Yes, No or Cannot be determined.

Asked by Neha on 01 Nov 2023


Next Number in the Series,

5, 16, 49, 104, ?

Asked by Neha on 31 Dec 2025

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.