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

I am a mother. However, I never give birth.

I am a father. However, I never nurse my children.

Wandering is not possible for me, but standing still happens occurs rarely.

Who am I?

Asked by Neha on 30 Oct 2024


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

Count the number of balls in picture below:


Count The Balls

Asked by Neha on 21 May 2021


What is the four-digit number in which the first digit is one-third the second, the third is the sum of the first two, and the last is three times the second?

Asked by Neha on 15 Sep 2025

What do you get if you add 2 to 100 four times?

Tricky Maths

Asked by Neha on 24 Jun 2024

Find the 8 in the below-given Image.

Asked by Neha on 24 Feb 2025


It is a nine-letter word.
The exact opposite of the phrase "friendly and outgoing"
It contains the word "over".
It starts will a vowel.

What is it?

Asked by Neha on 25 Mar 2025

These types of puzzles are known as charades. What you have to do is to find two words that are referred to in the first stanza and the second stanza and put them together to form the third word in the third stanza.

Just for example, if my first refers to 'off' and my second refers to 'ice', then my whole will be the 'office'.

My first is present - future's past -
A time in which your lot is cast.

My second is my first of space
Defining people's present place.

My whole describes a lack of site -
A place without length, breadth, or height.

Asked by Neha on 07 Dec 2024

A mad serial killer kidnaps people and forces them to play the game of 2 pills with them, In this game, there are pills in the table and one of them is normal pill while the other one is deadly poisonous.
The victim will choose one pill and the killer will pick the other pill and both simultaneously will swallow the pill with water.
victim dies every time.

One day the serial killer kidnaps the Joseph and forces him to play the same game with him.

Joseph solves the mystery of the two pills and remains alive.

Explain?

Asked by Neha on 15 May 2021


Intelligence Agency need to break the vault but the problem is that they are not able to break the vault.

On the vault, a text is written as:

31 11 33 33 43 45
21 25
31 24 11 31 51 41

To Break the code Intelligence Agency brings a mathematician named Joseph.
Minutes later he deciphers the code.

Whats the code?

Asked by Neha on 14 May 2021

Hot Articles

Amazing Facts

Gamers

In 2011, people playing Foldit, an online puzzle game about protein folding, resolved the structure of an enzyme that causes an Aids-like disease in monkeys. Researchers had been working on the problem for 13 years. The gamers solved it in three weeks.