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 man had five children. He had $100 with him to give to his children. He decided to start with the youngest child and then give $2 more than each younger child to his next elder child.

For example, if he gives $x to the youngest child, he will give $(x+2) to the next one, $[(x+2) + 2] to the next one and so on.

Can you find out how much did the youngest one receive?

Asked by Neha on 30 Sep 2024


What is 3/7 chicken, 2/3 cat and 2/4 goat?

Asked by Neha on 20 Mar 2025

What does this rebus riddle means ?

All Again Rebus

Asked by Neha on 15 Jul 2021


Below, you can see some coding:
January = 1017
February = 628
March = 1335
April = 145
May = 1353
June = 1064
July = 1074
August = 186

Now deciphering the way it has been coded, can you find out how September will be coded?

Asked by Neha on 30 Jan 2025

I can turn polar bears white.
I can make anyone dance.
I can make everyone cry
I can make your hands clap
I can make you thin.
I can make you smile.
I can make you smile

Can you guess the riddle?

Asked by Neha on 03 Jun 2024

A cat had three kittens: Snophy, Topsy and Jorden. What was the mother's name?

Asked by Neha on 27 Jun 2024


Find the next number in the series below

21 32 54 87 131 ?

Asked by Neha on 16 Nov 2023

Suppose you are sitting in an interview and the interviewee asks you an aptitude question.

You have three buckets with a capacity of 4 litres, 8 litres and 10 litres and you have a large tank of water. Now you have to measure 3 litres of water precisely using those buckets. How will you do it?

Asked by Neha on 04 May 2025

Decode below rebus
D
N
A
T
S , D

Asked by Neha on 14 May 2021


A man who was outside in the rain without an umbrella or hat didn’t get a single hair on his head wet. Why?

Asked by Neha on 27 Oct 2021

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.