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

Find the missing number in the image below.

Find the missing

Asked by Neha on 11 May 2025


There are a number of books on a shelf. If one book is the 4th from the left and 6th from the right, how many books are on the shelf?

Asked by Neha on 28 Sep 2021

Can you make the number 24 by utilizing the numbers 1, 3, 4 and 6? You must use one number only one time and you can use mathematical operation symbols anytime anywhere.

Asked by Neha on 18 Jan 2026


How many triangles can you find in this given picture?

Count the Triangles

Asked by Neha on 27 Feb 2023

Using four sevens (7) and a one (1) create the number 100. Except for the five numerals, you can use the usual mathematical operations (+, -, x, :), root and brackets ()

Asked by Neha on 26 May 2023

Can you start the fire using two pieces of wood?

Asked by Neha on 04 Sep 2024


He does not have any heart but still, He manages to live.
If you kill him, you will eventually die but yet you kill him.
He cannot run, who is He?

Asked by Neha on 21 Dec 2025

When we see 2 but call 10?

Asked by Neha on 14 Oct 2023

When monkey rotate the gear, which mark will be hit 1 or 2 ?

Monkey Gear riddle

Asked by Neha on 30 Apr 2021


Can you fill the blank with the correct number?

6 30 870 756030 _____

Asked by Neha on 20 Feb 2023

Hot Articles

Amazing Facts

Gambling

In Canada, a mathematical puzzle must be solved in order to win the lottery to classify it as a “game of skill” not gambling.