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

Solve the equation by replacing the alphabet with numbers.

MOM + MOM + NO = BOOK=

Asked by Neha on 06 Aug 2023


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

Client Dempsey living in one of the East Coast states of the U.S. was talking to Landon Donovan, who was living in the West Coast state of the U.S.

Dempsey: What time is it?
Donovan: Wow, It is the same time here.

How is this possible?

Asked by Neha on 30 Apr 2025


A certain street contains 100 buildings. They are numbered from 1 to 100. How many 9's are used in these numbers?

Asked by Neha on 29 Mar 2024

You have two bottles of pills marked with labels A and B. The pills are identical. The doctor has asked you to take one A pill and one B pill daily. You cant take more or less than that.

While taking out the pills one day, you took out one pill from A and by mistake took out two from B. You have no idea which pill is which now.

You cant throw away the expensive pills. What will you do now?

Asked by Neha on 02 Jul 2023

What numbers should go on the bottom line?
3 6 9 15
8 2 10 12
11 8 19 27
19 10 29 39
? ? ? ?

Asked by Neha on 29 Apr 2022


If we change the South-East direction into North and North-East into West and all others similarly.
Can you find out which direction will be in the place of South-West direction?

Asked by Neha on 16 Aug 2024

In a jungle where there are no street lights or any other artificial source of lights, I notice a black snake crossing the road.
How did I get sight of the snake?

Asked by Neha on 15 Oct 2023

A tree doubled in height each year until it reached its maximum height over the course of ten years. How many years did it take for the tree to reach half its maximum height?

Asked by Neha on 07 Aug 2025


If 21x = 79x, what is the value of x?

Asked by Neha on 19 Oct 2023

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.