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 is something which you can be arrested for attempting but not for successfully completing.

Asked by Neha on 30 Apr 2024


I drive at an average speed of 30 miles per hour to the railroad station each morning and catch my train. On a particular morning, there was a lot of traffic and at the halfway point, I had averaged only 15 miles per hour. How fast must I drive for the rest of the way to catch my train?

Asked by Neha on 21 Jun 2026

I have a clock(12-hour format) and both the needles of the clock overlap at 12:00.
After how much time, they will overlap again?

Asked by Neha on 06 Jan 2024


If you paint a brown house white it will become a white house. If the stoplight changes from red to green, then the light is green. So, if you throw a white shirt into the Red Sea, what will it become?

Asked by Neha on 07 Jun 2025

Which of the below owl is odd one out?

Find the odd

Asked by Neha on 22 May 2021

Can you identify the direction in which this bus is moving; left or right?

Hint: The bus is moving on the roads of London.


Find Bus Direction

Asked by Neha on 17 May 2021


I was speeding and ran through a stop sign, yet two traffic officers who were there do nothing about it.

why?

Asked by Neha on 13 Mar 2023

Steffi's daughter Jazelle needs to be picked up from school every day.
Steffi asks one of her colleagues to pick up Jazelle from the school. Steffi devised a password system to confirm that Jazelle goes with the correct colleague only.

The password on Monday was SJM16.
The password on Wednesday was TAW39.

What will the password be for Friday?

Asked by Neha on 28 Jan 2026

I can be made.
I can be cracked.
I can be told.
I can be played.

Who am I?

Asked by Neha on 13 Jun 2026


Many have heard it, but nobody has ever seen it, and it will not speak back until spoken to. What is it?

Asked by Neha on 22 Sep 2023

Hot Articles

Amazing Facts

Challenging

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