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

Identify Me

Hint1: I am a god
Hint 2: I am a planet
Hint 3: measurer of heat

Asked by Neha on 25 Sep 2025


Use only one mathematical symbol and all numbers (0-9) to get a sum of 99

Asked by Neha on 07 Feb 2025

Can you find the odd number in the following five choices?

1) 482636
2) 259807
3) 865195
4) 104739
5) 391744

Asked by Neha on 24 Nov 2024


Outside a massage parlour, there is a board that reads
"I only massage those who do not massage themselves."

Reading the above statement, does the masseur massage himself?

Asked by Neha on 14 Apr 2024

A man died and leaves Rs.10,000 in his will. There are 6 beneficiaries- his 3 sons and their wives. The 3 wives receive Rs.3960 of which Priyanka gets Rs.100 more than Tanu and Neha gets Rs.100 more than Priyanka.
Pramod gets twice as much as his wife, Tushar gets the same as his wife, and Prashant gets 50% more than his wife.

Who is married to whom?

Asked by Neha on 25 Aug 2024

A rubber ball keeps on bouncing back to 2/3 of the height from which it is dropped. Can you calculate the fraction of its original height that the ball will bounce after it is dropped and it has bounced four times without any hindrance ?

Asked by Neha on 16 Sep 2024


Find the missing letter in the last circle logically in the given below picture.

Apply Logic in Alphabet

Asked by Neha on 02 Apr 2024

John is 45 years older than his son Jacob. If you find similarities between their ages, both of their ages contain prime numbers as the digits. Also, John's age is the reverse of Jacob's age.

Can you find their ages?

Asked by Neha on 11 Sep 2024

I never stop running even when I standstill. If I am formed by joining two identical bodies together, can you guess who I am?

Asked by Neha on 28 Mar 2023


Out of four images which one is the odd one out?

Odd one out

Asked by Neha on 02 Oct 2023

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.