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

Can you find the key in the picture below?

Find the Key

Asked by Neha on 07 Apr 2024


When you stop to look, you can always see me. But if you try to touch me, you can never feel me. Although you walk towards me, I remain the same distance from you. What am I?

Asked by Neha on 20 Aug 2025

There are 3 apples in the basket and you take away 2. How many apples do you have now?

Asked by Neha on 21 Oct 2025


Which word does the below Plexor means ?

Hard Word Plexor

Asked by Neha on 11 May 2021

How can you leave a room with two legs and return with six legs?

Asked by Neha on 14 May 2021

What can go through glass without breaking it?

Asked by Neha on 23 Aug 2025


Who are the happiest people in IPL match?

Asked by Neha on 24 Jan 2025

How many pluses should we put between the digits of 987654321 to get a total of 99, and where?

Asked by Neha on 25 Sep 2021

Three people check into a hotel. They pay $60 for the rent of the room. After they check-in, the manager realize that the rent for the room is $55. So, he gives $5 to the bellboy and asks him to give it to them. The bellboy thinks that it will be difficult for the three people to share $5 among them and seeking the personal benefit, he pockets $2 and gives the remaining $3 to them.

Now, each person paid $20 and got back $1. In this manner, each of them paid just $19 which totals to the amount of $57. The bellboy has $2 with him and adding them, we get $59. So where is the remaining $1?

Asked by Neha on 02 Aug 2023


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

Asked by Neha on 06 Aug 2024

Hot Articles

Amazing Facts

No Solution

In 2007, a puzzle was released and $2 million prizes were offered for the first complete solution. The competition ended at noon on 31 December 2010, with no solution being found. Wiki