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

We have arranged an array of numbers below. What you have to do is use any kind of mathematical symbol you know excluding any symbol that contains a number like cube root. You can use any amount of symbols but you have to come up with a valid equation for all of them.

0 0 0 = 6
1 1 1 = 6
2 + 2 + 2 = 6
3 3 3 = 6
4 4 4 = 6
5 5 5 = 6
6 6 6 = 6
7 7 7 = 6
8 8 8 = 6
9 9 9 = 6

Asked by Neha on 19 Sep 2025


our enemy challenges you to play Russian Roulette with a 6-cylinder pistol (meaning it has room for 6 bullets). He puts 2 bullets into the gun in consecutive slots, and leaves the next four slots blank. He spins the barrel and hands you the gun. You point the gun at yourself and pull the trigger. It doesn't go off. Your enemy tells you that you need to pull the trigger one more time, and that you can choose to either spin the barrel at random, or not, before pulling the trigger again. Spinning the barrel will position the barrel in a random position.

Assuming you'd like to live, should you spin the barrel or not before pulling the trigger again?

Asked by Neha on 04 May 2022

Using eight eights and addition only, can you make 1000?

Asked by Neha on 17 Feb 2024


How many triangles are there on the puzzle below?

Let

Asked by Neha on 10 Feb 2024

I am lying and I always lie. Tell me whether I am lying or telling the truth.

Asked by Neha on 31 Dec 2024

There’s a girl who has a large family. She has an equal amount of brothers and sisters, but each brother only has half as many brothers and sisters. What’s the correct amount of brothers and sisters?

Asked by Neha on 05 Jun 2025


What word is pronounced the same if you take away four of its five letters?

Asked by Neha on 20 Oct 2021

John was writing his first book. After saving the document, he locked his laptop with a password and mentioned some phrases for the hint box.

A friend of his tried opening his laptop but found out that it was password protected. Following is the hint that appeared.
1 mobile 3 books 2 roars 1 night 4 balls 2 lighters 1 ghost 1 hat 3 watches.

Can you help him in cracking the password?

Asked by Neha on 05 Sep 2023

Joseph buys three kinds of chocolates for 100 rupees. The first one is priced at 5 rupees, second one at 3 rupees and third one at 0.5 rupees.

If he bought 100 chocolates in total, how many pieces do you think he bought each chocolate?

Asked by Neha on 04 Jan 2021


A man is approaching a broad and barren land. He has a package with him. If somehow, he is unable to open the package before reaching the land, he will die.

Can you guess what is present in the package?

Asked by Neha on 17 May 2025

Hot Articles

Amazing Facts

Out of the Box

The phrase “thinking outside the box” was popularised from the solution to a topographical puzzle involving 9 dots in a box shape.