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

I am sure no one can have two things for dinner. what are they?

Asked by Neha on 18 Nov 2024


Can you replace the X (both small and big x) with the numbers between 1 to 19 such that all the rows of 3 numbers between X (big x) sum to 23?

Replace Shaped Puzzle

Asked by Neha on 05 Oct 2025

What makes this number unique: 8,549,176,320?

Asked by Neha on 08 Jul 2025


A mother is 21 years older than her child. In exactly 6 years from now, the mother will be exactly 5 times as old as the child.
Where's the father?

Asked by Neha on 26 Jun 2021

There’s a one-story house in which everything is yellow. Yellow walls, yellow doors, yellow furniture. What colour are the stairs?

Asked by Neha on 12 Feb 2022

Complete the given grid with valid words. You can only use the letters AAEEIIMMPPTT.

Hint: The grid reads the same across as down.

English Winglish

Asked by Neha on 18 Jun 2024


I have feet, but no legs. Which animal Am I?

Asked by Neha on 18 Apr 2023

Why do Chinese men eat more rice than Japanese men do ?

Asked by Neha on 02 Sep 2021

Which flower has two lips?

Asked by Neha on 24 Apr 2024


The doctor advised his patient to take a tablet after every fifteen minutes. He gave him five tablets in total.

How much time will he take to have all the five tablets?

Asked by Neha on 01 Aug 2023

Hot Articles

Amazing Facts

Challenging

There is a cryptic organization called Cicada 3301 that posts challenging puzzles online, possibly to recruit codebreakers and linguists.