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

When I asked a girl's name she told me her name is the date '07/09/2001'.

I thought for a few seconds and then I got her name. Do you?

Asked by Neha on 02 Dec 2025


Replace the question mark with the correct number.

Replace the question mark

Asked by Neha on 09 May 2023

A fresh card pile is taken out of a box (the pile has 54 cards including 2 jokers). One joker is taken out and then the cards are shuffled for a good amount of times. After shuffling, two piles are made by dividing that one pile.



What is the possibility that one of the piles will have a card sequence from A to K in order?

Card Mixing Riddle

Asked by Neha on 04 Apr 2021


Look at me. I can bring a smile to your face, A tear to your eye, Or even a thought to your mind. But, I can't be seen. What am I?

Asked by Neha on 17 Apr 2026

In the picture given below, can you find out which digit will take place of the question mark?

Replace the Question Mark

Asked by Neha on 10 Nov 2025

You are presented with three boxes. One of them has a red ball inside and the other two have a black ball inside each of them. You are asked to pick up the one with red ball and you pick one. Now, one of the other boxes is opened and it is found to have a black ball.

You are presented with a chance to change your box with the one that is left closed. Will you change your box? Why or why not?

Asked by Neha on 15 Apr 2023


One day, I thought of ways that can be used for creating a palindrome. So I decided that I will turn into a larger number by adding the reversed digits to the original number and keep doing it till I finally obtained a palindrome.

I am not sure if this process will always result in a palindrome eventually but I was able to produce a four-digit palindrome. Can you guess my starting number?

Asked by Neha on 17 Apr 2024

Two brothers were watching a horror film on video late one night. One brother dozed off and dreamed that he was being chased by the crazy man from the movie, who was trying to kill him. In the dream, he hid in a cupboard. There was no sound except his heart pounding, and he had no idea where his crazed captor was. He was terrified! At that moment, the video finished, and his brother put his hand on the shoulder of his sleeping sibling to wake him. The shock at that tense moment was enough that the sleeping brother suffered a massive heart attack and died instantly. True or false?

Asked by Neha on 02 Jan 2026

Bobby and Wilbur decided to take their respective car out of the garage and race. None of them cheated and they both stood at the start time and decided to cover a distance in full throttle. The first to reach the mark was to be declared the winner.

Upon reaching the finishing mark, they found out that Bobby's car was 1.2 times faster than Wilbur's. Now, Wilbur had reached the mark about 1 minute and 30 seconds later than Bobby. Bobby's car reached the mark of 60 MPH on average.

Can you calculate the distance between the starting mark and the final mark with the help of the given data?

Asked by Neha on 08 Mar 2026


I’m orange, I wear a green hat and I sound like a parrot. What am I?

Asked by Neha on 26 Aug 2025

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.