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 network of 20 x 10 squares is given to you.

Can you calculate how many unique squares and rectangles can be formed combining two or more individual squares ?

Asked by Neha on 24 Jan 2021


Can you find out what is missing?

1 3 5
2 4 ?

Hint: It's not six. Think out of the box.

Asked by Neha on 25 Aug 2023

Count the Triangle in the figure given below:

Can You Count

Asked by Neha on 04 Jul 2024


You are in a land where thirty men and two women were dressed in classic black and white dresses.
They begin to fight as soon as any of them move.

Where are you?

Asked by Neha on 19 Jul 2024

Today, I celebrated my 32nd birthday but I was born in 1972.
How is this possible?

Asked by Neha on 01 May 2025

Which is faster, Heat or Cold ? Explain.

Heat or Cold ?

Asked by Neha on 23 Mar 2021


what does this below rebus represent identXQQQQQME

Rebus representation

Asked by Neha on 29 Jan 2025

Can you find out the remainder when 3^300 is divided by 5?

Asked by Neha on 31 Oct 2023

Living above a star, I do not burn
Eleven friends and they do not turn
I can just be visited in a sequence, not once or repeatedly
PQRS are my initials
Can you tell my name accurately?

Asked by Neha on 11 Jul 2021


P is the father of Q and S is the son of R. T is the brother of P and has a daughter U. If R is the sister of P, then what is the relation between U, Q and S?

Who is Who

Asked by Neha on 16 Mar 2021

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.