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

Why are all black people so quick ?

Asked by Neha on 05 Jan 2021


A worker is to perform work for you for seven straight days. In return for his work, you will pay him 1/7th of a bar of gold per day. The worker requires a daily payment of 1/7th of the bar of gold. What and where are the fewest number of cuts to the bar of gold that will allow you to pay him 1/7th each day?

Asked by Neha on 05 Mar 2024

There is a wide field of corn. A goose finds its way into the field and starts running. Can you find out till which point the goose can run into the field?

Asked by Neha on 27 Oct 2023


Below, you will find the mathematical proof that 10 equals 9.99999?. But is that possible or there is something wrong about it? Can you find the error?

x = 9.999999...
10x = 99.999999...
10x - x = 90
9x = 90
x = 10

Asked by Neha on 27 Aug 2021

Two boys were admitted to a school. When the headmaster asks them about their parents, they tell him that they have same parents (father and mother). On further inquiry, it turns out that they both share the same date for their birthday.

"Are you twins," ask the headmaster.
"No," replies the boys.

Is it possible?

Asked by Neha on 22 Feb 2024

There were two grandmothers and their two granddaughters.
There were two husbands and their two wives.
There were two fathers and their two daughters.
There were two mothers and their two sons.
There were two maidens and their two mothers.
There were two sisters and their two brothers.
Yet there are only six, who are buried here,
All are born legitimate and relationships clear.
How can this happen?

Asked by Neha on 15 Jun 2024


Can you solve the photo plexer logic ?

Logical Rebus

Asked by Neha on 14 May 2021

I am a prime number.
The double of myself is equal to the square of me.

which number am I?

Asked by Neha on 18 Jan 2025

How can you spell "White of an egg" in one word?
Hint: I know you can spell coke, poke, and joke.

Asked by Neha on 14 Apr 2025


I am quite hot but become too cold if you remove the first two letters. What am I?

Asked by Neha on 24 May 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.