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 Doctor always sneezes before the rain. Doctor sneezes, Will it rain?

Asked by Neha on 24 Jul 2024


I have branches, but no fruit, trunk or leaves. What am I?

Asked by Neha on 13 Feb 2022

John is asked to stand behind Jacob and Jacob is asked to stand behind John. Both of them feel confused about it and don't know what to do?

But it is quite possible, do you know how?

Asked by Neha on 28 Jan 2021


If you drop me I’m sure to crack, but give me a smile and I’ll always smile back. What am I?

Asked by Neha on 07 Mar 2025

A rain drop fell from one leaf to another leaf and lost 1/4th of its volume. It then fell to another leaf and lost 1/5th of the volume. It again fell on another leaf and lost 1/5th of the volume.



This process kept repeating till it fell on the last leaf losing 1/75th of its volume.



Can you calculate the total percentage of loss from the initial volume when the drop has fallen to the last leaf accurate up to two decimal places?

Asked by Neha on 16 Feb 2021

What number comes next in this sequence:
7 8 5 5 3 4 4 _

Asked by Neha on 06 Aug 2024


If two fifty-foot ropes are suspended from a forty-foot ceiling that is twenty feet apart, how much rope will you be able to steal if you have a knife?

Rope can be stolen

Asked by Neha on 19 Sep 2024

A generous owner of a company decided to give a bonus of $45 to every man and $60 to every woman on his birthday. But only one-ninth of the men and one-twelfth of the women were present to take the bonus.

Can you calculate the amount of money the owner spent if there were 3552 employees?

Asked by Neha on 26 Nov 2024

Manish and Manoj play 5 games of chess.
Both Manish and Manoj win the exact same number of games. There is no tie at all.

How?

Asked by Neha on 11 Feb 2024


Joseph organises an exotic office New year party at the beach to his important fellow employees.

Following are the important people that will come to the party

1. Joseph

2. Joseph 2 girlfriends- Carol Vanstone and Tracey Hughes

3. The sales head Clay Vanstone.

4. Clay Vanstone 2 associates.

5. Mr. Jeremy and his Secret Tab.

They all need to cross a small river to reach the beach, however, Joseph has got just one boat.

There are few rules for crossing the river.

1. The capacity of the boat is limited to just two people.

2. Clay Vanstone associates will not stay with Joseph without Clay Vanstone.

3. Carol Vanstone and Tracey Hughes will not stay with the Clay Vanstone without Joseph.

4. Mr. Jeremy would never leave the Secret Tab alone.

5. Secret Tab counts as a person.

6. Only Joseph, Clay Vanstone or Mr. Jeremy can drive the boat.

7. The two girlfriends Carol Vanstone and Tracey Hughes will not stay with the Clay Vanstone without Joseph.

8. No Associates would stay with Joseph without their Clay Vanstone.

9. Mr.Jeremy will not leave the Secret Tab alone.

Asked by Neha on 15 Dec 2020

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.