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

A man is walking down a road with a basket of eggs. As he
is walking he meets someone who buys one-half of his eggs
plus one-half of an egg.
He walks a little further and meets another person who buys
one-half of his eggs plus one-half of an egg.
After proceeding further he meets another person who buys
one-half of his eggs plus one half an egg. At this point, he
has sold all of his eggs, and he never broke an egg.
How many eggs did the man have to start with?

Asked by Neha on 06 Dec 2023


Can you name four days which start with the letter 'T'?

Asked by Neha on 20 Nov 2024

A girl has as many brothers as sisters, but each brother has only half as many brothers as sisters. How many brothers and sisters are there in the family?

Asked by Neha on 03 Mar 2022


On the occasion of Diwali, online seller companies in India are offering a big discount on Iphone14 as below.

: Flipkart offers a Flat 65% discount
: Amazon offers a 10% discount over and over again.
: Shopclues offers RS.45,000 off.

If the original cost of the iPhone is Rs.70,000 Which is the best offer for you?

Asked by Neha on 01 Sep 2024

Can you decipher the two rows to find the hidden word?


Make the Word

Asked by Neha on 14 May 2021

What does the following BrainBat signifies?

ABCDEFGHIJKLMNOPQRSTUVWYZ

QQQQQQQQQQQQQQQQQQQQQQQQQ.

Asked by Neha on 21 Jan 2021


A frog is at the bottom of a 30-meter well. Each day he summons enough energy for one 3-meter leap up the well. Exhausted, he then hangs there for the rest of the day. At night, while he is asleep, he slips 2 meters backwards. How many days does it take him to escape from the well?

Asked by Neha on 25 Nov 2024

I am the first thing you need while camping.
I am always with the person named Marcos Valencia and Carrick.
But Pogba Zlatan and Rooney think I am wasteful and do not need me.
I am the second to the last thing to add when you are making a patch.

What am I?

Asked by Neha on 16 Dec 2024

What 5-letter word typed in all capital letters can be read the same upside down?

Asked by Neha on 20 Oct 2025


What goes up but never comes down?

Asked by Neha on 26 Oct 2021

Hot Articles

Amazing Facts

Jigsaw puzzles

Jigsaw puzzles soared in popularity during the great depression, as they provided a cheap, long-lasting, recyclable form of entertainment.