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

It spends most of its day eating white, but when it’s quick enough, it gets to eat fruit and sometimes some blue things. It’s in a dark room, where the walls are blue, it runs from a ghost that roams the halls and haunts it all the time. What is it?

Asked by Neha on 30 May 2025


A dying old man wants to divide his entire land between his only two sons. Since his only wish is to treat them as equal as both of them have been too good to him, he wants to divide his land equally between them. The problem is that the land is significantly irregular in shape and thus there is no choice of cutting them into two equal halves.

Can you help him divide the land in a manner that both of his sons will be happy?

Asked by Neha on 20 Jun 2023

What is more useful when it is broken?

Asked by Neha on 30 Mar 2022


My first is in chocolate but not in ham. My second is in cake and also in jam. My third at tea time is easily found. Altogether, this is a friend who is often around. What is it?

Asked by Neha on 26 May 2025

What can jump higher than a building?

Asked by Neha on 24 Oct 2025

How much will a 38° angle measure when looked at under a microscope that magnifies ten times?

Asked by Neha on 17 May 2021


Jack and Joseph are well-known golf rivals. One Day during a match, they were level at a score of 30. Jack hit a bad shot and Joseph added 10 to his score. Joseph then hit an awesome shot and he won the game.

How ?

Asked by Neha on 02 Jan 2021

A man is sitting in a bar when a rich man sits next to him. He turns to the rich man and says, “Did you know I know almost every song that has ever existed?”

The rich man laughs. The man then says, “I bet you all the money you have in your wallet that I can sing a genuine song with a lady’s name of your choice in it. The rich man laughs again and says, “OK, how about my daughter’s name, Jamie Armstrong-Miller?” Minutes later, the man collects his cash and the rich man goes home cashless. What song did the man sing?

Asked by Neha on 28 Jun 2025

Through your logical capabilities, can you make 7 an even?

Asked by Neha on 04 Mar 2026


Can you write down eight eights so that they add up to one thousand?

Asked by Neha on 29 Sep 2021

Hot Articles

Amazing Facts

Crossword puzzles

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