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

I can turn polar bears white.
I can make anyone dance.
I can make everyone cry
I can make your hands clap
I can make you thin.
I can make you smile.
I can make you smile

Can you guess the riddle?

Asked by Neha on 03 Jun 2024


What runs around the whole yard without moving?

Asked by Neha on 14 May 2021

Solve the alphametic puzzle by replacing the alphabet with the number.

S T O R M +
S O L E S
=========
T O W E L
=========

Asked by Neha on 30 Jul 2024


A bomb goes off.
Carnage.
One person, only a few feet away, survives! How can this be?

Asked by Neha on 19 Sep 2021

There is a box. The area of its top is 240 square units, the area of the front is 300 square units and the area of the end is 180 square units.

Can you calculate the dimensions of this box with the given data?

Asked by Neha on 19 Apr 2025

There is a square of a particular number which when doubled, becomes 7 more than its quarter.

Can you find the number?

Asked by Neha on 17 Jul 2023


Which of the following words don't belong in the group and why?
CORSET, COSTER, SECTOR, ESCORT, COURTS

Asked by Neha on 16 Oct 2021

Can you decipher the below rebus?

PBLUESAISNUERSES

Asked by Neha on 10 Aug 2023

If a wheel has 54 spokes, how many spaces are there between the spokes?

Asked by Neha on 27 Sep 2021


What word begins and ends with an E, but has only one letter?

Asked by Neha on 21 Oct 2021

Hot Articles

Amazing Facts

Crossword puzzles

In the 1920s, people feared that crossword puzzles would contribute to illiteracy.