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

12345 a famous South Indian actor
567 is a path in jumbled form
8 & 10 are same letters
9 is one among the first six alphabets.
WHO AM I?

Asked by Neha on 14 May 2021


A California farmer owns a beautiful pear tree. He supplies the fruit to a nearby grocery store. The store owner calls the farmer to see how much fruit is available for him to buy. The farmer knows the main trunk has 24 branches. Each branch has exactly 12 boughs and each bough has exactly 6 twigs. Since each twig bears one piece of fruit, how many plums will the farmer be able to deliver?

Asked by Neha on 24 May 2025

Do you know of a place where the wind blows south and then suddenly shifts direction towards the north?

Asked by Neha on 14 Sep 2025


Can you solve this amazing hard number series problem?
7, 8, 10, 12, 16, 18 ?

Asked by Neha on 18 Apr 2024

You Are Highly Attentive If You Can Spot A Hat In This Bathroom In 9 Seconds!

Find the Hat in the Bathroom

Asked by Neha on 27 Aug 2026

There is a barrel with no lid and some wine in it. 'This barrel of wine is more than half full,' said Curly. 'No it's not,' says Mo. 'It's less than half full.' Without any measuring implements and without removing any wine from the barrel, how can they easily determine who is correct?

Asked by Neha on 05 May 2023


I was speeding and ran through a stop sign, yet two traffic officers who were there do nothing about it.

why?

Asked by Neha on 13 Mar 2023

Can you find the missing number in the third row?
35 20 14
27 12 18
5 2 ?

Asked by Neha on 26 Jun 2023

Imagine you are in a room with no windows or doors. How will you get out?

Asked by Neha on 25 Oct 2025


What do you answer even though it never asks you questions?

Asked by Neha on 12 Oct 2021

Hot Articles

Amazing Facts

Gamers

In 2011, people playing Foldit, an online puzzle game about protein folding, resolved the structure of an enzyme that causes an Aids-like disease in monkeys. Researchers had been working on the problem for 13 years. The gamers solved it in three weeks.