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

There’s a one-story house in which everything is yellow. Yellow walls, yellow doors, yellow furniture. What colour are the stairs?

Asked by Neha on 12 Feb 2022


A woman is sitting in her hotel room and hears a knock at the door. She opens the door to see a man whom she’s never met before. He says, “I’m sorry, I have made a mistake, I thought this was my room.” He then goes down the corridor and into the elevator. The woman goes back into her room and calls security. What made the woman so suspicious of the man?

Asked by Neha on 22 May 2025

The following four words might seem abrupt to you. But you can make them meaningful by just adding vowels.
RDSH
GGPLNT
TMT
NN

Hint: All of them are vegetables.

Asked by Neha on 13 Nov 2025


The below mentioned letters have been placed in a order using a logic.

DEAD, BALL, FEAR, SHOP

Can you find the logic?

Asked by Neha on 14 May 2021

How can I get the answer 24 by only using the numbers 8,8,3,3?

You can use the main signs add, subtract multiply and divide.

Asked by Neha on 21 Jan 2026

I am thinking of a five-digit number such that:
The first and last digits are the same, their submission is an even number and multiplication is an odd number and is equal to the fourth number. Subtract five from it and we obtain the second number. Then divide into exact halves and we get the 3rd number.

What number I am thinking of?

Asked by Neha on 16 Nov 2024


Complete the series by replacing "?" with the correct number.

ST ND RD TH '?'

Asked by Neha on 14 Jan 2026

That attorney is my brother, testified the accountant.

But the attorney testified he didn't have a brother.

Who is lying?

Asked by Neha on 14 Dec 2020

There is something which is always coming but never arrives?

Asked by Neha on 08 Mar 2024


It is Secret Agent Bond Girl Friend's birthday but he is on a secret mission

Mr Bond has a secret device by which he can only use the below words for sending the message.

Dumbo, Nazi, Carrot, Ronda, Zambia, Racing, TinTin, Seou, Zareeba, Laltain, Saphire, Tar, Orphan, Audition, Biscotti.

Mr Bond sends the following message to her girlfriend:
Carrot Dumbo Nazi Racing Ronda Zambia TinTin Seou Laltain Zareeba Tar Biscotti Orphan Audition Snake

What does Mr. Bond's Message say?

Asked by Neha on 12 Apr 2026

Hot Articles

Amazing Facts

Challenging

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