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

As a whole I am both
safe and secure.

Behead me and I become
a place of meeting.

Behead me again and I am
the partner of ready.

Restore me, and I become
the domain of beasts.

What am I?

Asked by Neha on 11 May 2021


As shown in the image, the nine Dogs are square fenced. By constructing just two square fences can you make sure that two Dogs cannot meet each other without crossing the fence?

Fence the Fencing

Asked by Neha on 09 Mar 2021

There are 3 apples in the basket and you take away 2. How many apples do you have now?

Asked by Neha on 21 Oct 2025


Can you find the next number in the below sequence
3 , 7 , 10 , 11 , 12 , 17 ?

Asked by Neha on 04 Mar 2025

In a school, there are four subjects. Seventy percent of students study English, seventy five percent of students study Science, eighty five percent of students study Mathematics and eighty percent of students study Spanish.

Can you calculate the percentage of students that study all four subjects?

Asked by Neha on 16 Apr 2023

Why do Chinese men eat more rice than Japanese men do ?

Asked by Neha on 02 Sep 2021


There was a man he lives in a hotel each morning he presses the first floor button each evening if there is a person in the elevator he asks him to press the 10 floor button if there is no one in the elevator he takes the stairs why.

Asked by Neha on 17 Mar 2022

Solve the rebus riddle in the picture below.

Millionaire Riddle

Asked by Neha on 14 Feb 2026

Three doctors said that Bill was their brother. Bill says he has no brothers. How many brothers does Bill actually have?

Asked by Neha on 01 Mar 2022


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

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.