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

Jenifer and Jesica are having a conversation.

Jenifer: I am definitely not over 30.
Jesica: I am 28 and you are surely 5 years older to me at least.
Jenifer: No, you are at least 29.

You are told that both of them are lying throughout in the conversation. Can you find their respective ages?

Asked by Neha on 18 Jul 2021


Forwards I am heavy, backward I am not. What am I?

Asked by Neha on 01 Aug 2025

Solve below rebus puzzle?

Popular Rebus

Asked by Neha on 18 May 2023


What kind of storm is always in a rush?

Asked by Neha on 16 Jan 2024

People are waiting in line to board a 100-seat aeroplane. Steve is the first person in the line. He gets on the plane but suddenly can't remember what his seat number is, so he picks a seat at random. After that, each person who gets on the plane sits in their assigned seat if it's available, otherwise, they will choose an open seat at random to sit in. The flight is full and you are last in line. What is the probability that you get to sit in your assigned seat?

Asked by Neha on 13 Mar 2024

Can you find the odd number in the following?

2716, 4135, 5321 and 7145

Asked by Neha on 30 Mar 2023


Tarang football website was hacked by one of the players. Jack, the coach of Tarang has pointed out five players as the possible hacker.
Each suspected player made three statements from each suspected player and out of which two are true and one is false.

Joseph
A) I have not hacked the website.
B) I know nothing about hacking.
C) John did it.

Hazard
A) I have not hacked the website.
B) The website was attacked by one of the players.
C) I hate Shelly

Remy
A) I have not hacked the website.
B) I have never seen Oscar in my entire life.
C) I am sure John did it.

John
A) I have not hacked the website.
B) I am sure Oscar did it.
C) Joseph was lying when he said he did it.

Oscar
A) I have not hacked the website.
B) I am sure Hazard did it.
C) I used to be friend with Remy.

So who hacked the website?

Asked by Neha on 27 Jun 2021

What has a bottom at the top?

Asked by Neha on 20 Jul 2025

I have two coins.
* One of the coins is a faulty coin having a tail on both sides of it.
* The other coin is a perfect coin (heads on side and tail on other).

I blindfold myself and pick a coin and put the coin on the table. The face of the coin towards the sky is the tail.

What is the probability that another side is also tail?

Asked by Neha on 07 Jun 2023


An ape is trying to climb on a pole that is 60 feet high. Due to the slippery surface, the ape climbs 3 feet in a minute only to slip back 2 feet.

How much time do you think the monkey will take to reach the top of the pole?

Asked by Neha on 29 Sep 2024

Hot Articles

Amazing Facts

Challenging

There is a cryptic organization called Cicada 3301 that posts challenging puzzles online, possibly to recruit codebreakers and linguists.