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

Decode the below four famous ciphers:

8P of the SS
1M of the E
1S of the SS
60M in 1H

Asked by Neha on 17 May 2021


Find The Next Number In The Sequence

30 10 15 13 0 16 -15 ?

Asked by Neha on 20 Aug 2024

Below, you will find the mathematical proof that 10 equals 9.99999?. But is that possible or there is something wrong about it? Can you find the error?

x = 9.999999...
10x = 99.999999...
10x - x = 90
9x = 90
x = 10

Asked by Neha on 27 Aug 2021


From a pack of 52 cards, I placed 4 cards on the table.

I will give you 4 clues about the cards:

Clue 1: Card on left cannot be greater than the card on the right.
Clue 2: Difference between the 1st card and 3rd card is 8.
Clue 3: There is no card of an ace.
Clue 4: There are no face cards (queen, king, jacks).
Clue 5: Difference between the 2nd card and 4th card is 7.

Identify four cards?

Asked by Neha on 24 Aug 2021

Count the number of triangles in the given picture.

Find out triangles

Asked by Neha on 28 Mar 2025

who is silent in the parliament?

Asked by Neha on 29 Apr 2024


O_er_t_o_

Complete the missing letters of the given word.

Asked by Neha on 22 Feb 2022

I have a head like a cat and feet like a cat, but I am not a cat. What am I?

Asked by Neha on 12 Aug 2025

In a box, there is a jumble of 7 red balls, 6 blue balls, 5 green balls, and 4 yellow balls. What is the minimum number of balls, will you have to pick up so that you have at least 4 balls of the same colour?

Asked by Neha on 04 Nov 2024


Baseball bat and ball cost $100. If the bat cost $99 more than the ball, what is the cost of each?

Asked by Neha on 23 May 2021

Hot Articles

Amazing Facts

Challenging

There is a cryptic organization called Cicada 3301 that posts challenging puzzles online, possibly to recruit codebreakers and linguists.