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 person was killed at a house party. When the police arrive, there are six people present in the house who are the friends of the victim. The name of the friends is Rohit, Aman, Nick, Gagan, and Randy.

Near the dead body, they find a few numbers written with blood by the victim on the floor. The numbers are 8, 5, 4, and 11.

The police arrests one of the friends for the murder. Whom did they arrest and why?

Asked by Neha on 04 May 2023


What is common among 11, 69, and 88?

What is common here

Asked by Neha on 15 Sep 2023

I travel all around the world but always stay in the corner. What am I?

Asked by Neha on 09 Mar 2022


A tourist visits a small town for his research. While in the town, he decides to get a haircut. Since the town is quite small, there are only two barbers in the town � one on the North Street and one on the South Street. The barbershop on the North Street is a mess and the barber has a weird and pathetic haircut. While the barbershop at the South Street is pretty tidy and the barber as well has an impressive haircut.

Which barbershop will the tourist visit for his haircut and why?

Famous Barber Haircut Riddle

Asked by Neha on 23 Jul 2024

John is the son of Jacob.
So,
Jacob is the_____of John's father?

Asked by Neha on 17 Dec 2024

You were playing ping pong with your friend. Suddenly the ball fell into a narrow metal pipe that was imbedded in the concrete surface of the floor one foot deep. Now you don't have any other ball and you desperately want to take it out and play. You and your friend have your shoelaces, your tennis paddle and a plastic water bottle. However, the bottle cannot fit into the pipe.

How will you take the ball out?

Asked by Neha on 23 Jun 2026


Which Number is the odd one out?

A) 7145
B) 2716
C) 5321
D) 4135

Asked by Neha on 10 Jan 2024

How can you tell a raw egg from a hard-boiled egg?

Asked by Neha on 09 Jan 2025

1 + 9 + 8 = ?
considering, 28 + 8 + 92 = 10

Asked by Neha on 03 Aug 2021


A man always keeps a spare tyre in his car. To make full use of all the five tyres, he changes the tyres in a manner that for a distance of 1, 00,000 km, each of them runs the same distance.

Can you calculate the distance travelled by each tyre on that journey?

Asked by Neha on 14 Sep 2023

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.