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

Which English verb becomes past tense just by rearranging the letters?

Asked by Neha on 07 Sep 2025


There is a square of a particular number which when doubled, becomes 7 more than its quarter.

Can you find the number?

Asked by Neha on 17 Jul 2023

What does the following BrainBat signifies?

ABCDEFGHIJKLMNOPQRSTUVWYZ

QQQQQQQQQQQQQQQQQQQQQQQQQ.

Asked by Neha on 21 Jan 2021


Two prisoners Jack and Jill are locked in a cell.
There is open window approx 40 feet above the ground of the cell.
They are never able to reach there.

Then they plan to escape by a tunnel and they start digging out.
After digging for more than 20 days, Jill comes with the different plan and they escaped.

what was the plan ?

Asked by Neha on 10 Aug 2021

You are in a room with no metal objects except for two iron rods. Only one of them is a magnet.
How can you identify which one is a magnet?

Asked by Neha on 28 Feb 2024

It is an eleven letter word.
The first, second, third and fourth letters form a banquet's name.
The fifth, sixth and seventh letters form a car's name.
The eighth, ninth, tenth and eleventh letters form a mode of transport.

Can you identify what word it is?

Asked by Neha on 25 Dec 2023


What is the largest amount of money that you can possess in change and still if someone asks you for a dollar, you won't be able to give?

Asked by Neha on 07 Jan 2025

Buy me, smell me or deliver me, I do not change.

Who am I?

Asked by Neha on 19 Feb 2024

Which fur should we be getting from the Lion?

Asked by Neha on 10 Feb 2021


All of the flowers I have are orchids except two. All of the flowers I have are hibiscuses except two. All of the flowers I have are roses except two.

Can you tell me how many flowers I have?

Asked by Neha on 28 Feb 2025

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.