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

Can you find a five letter word that is left with only two letters if one is removed?

Asked by Neha on 20 Jul 2021


By using all numbers, i.e. 123456789 and subtraction/addition, operators number 100 can be formed in many ways.
Example: 98 + 7 + 6 - 5 - 4 - 3 + 2 - 1 = 100

But if we add a condition use of the number 32 is a must. Then there are limited solutions.
One of such solution is: 9 - 8 + 76 + 54 - 32 + 1 = 100

Can you tell me any other solution?

Asked by Neha on 10 Aug 2024

Begin with a word, five letters to my name,
Remove the first and last but I am the same
Take out my middle and still, I remain.
What word am I?

Asked by Neha on 25 Jan 2025


What does this rebus riddle means ?

All Again Rebus

Asked by Neha on 15 Jul 2021

Which is heavier: a ton of bricks or a ton of feathers?

Asked by Neha on 28 Feb 2022

When 99 is considered higher than 100?

Asked by Neha on 26 Feb 2021


What is wrong in the below Picture?

Find the wrong in Picture

Asked by Neha on 12 Feb 2023

A man walked into a pub and went straight towards the Barman. He asked for a dirty martini from the Barman. The Barman thought something and then pulled out a pistol from his drawer and aimed it directly at the man. Why did he do that?

Asked by Neha on 09 Nov 2023

The captain of a ship was telling this interesting story: "We travelled the sea far and wide. At one time, two of my sailors were standing on opposite sides of the ship. One was looking west and the other one east. And at the same time, they could see each other clearly." How can that be possible?

Asked by Neha on 26 Mar 2024


Three friends decide to distribute the soda cans they had among them. When all of them had drunk four cans each, the total number of cans that remained was equal to the cans each one of them had after they had divided the cans.

Can you calculate the total number of cans before distribution?

Asked by Neha on 12 May 2025

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.