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

I have teeth but i don't bite. Who Am I ?

Teeth for showpiece

Asked by Neha on 29 Mar 2021


You can win me and lose me but never buy me
You can not eat me and never want to part with me
I can make you cry or bring you joy
I am not a machine and definitely not a toy
You keep me but i am not forever just yours
You might find me in a case or on a shelf next to a vase
I am hard and i am tall if you bump me i am sure to fall
I am made of different materials and am at many events
If your lucky and fight hard I might be yours
What am I ?

Asked by Neha on 11 May 2021

Two guards were guarding the camp.Guard-1 was looking towards the south to make sure no threat is coming from the road.Guard-2 was looking at the north to make sure no threat is coming from the top. Suddenly Guard-1 ask the Guard-2 why he is smiling?How Guard-1 knows that Guard-2 is smiling?

Asked by Neha on 30 May 2023


I can be cracked, made, told, and played. What am I?

Asked by Neha on 16 Aug 2025

There is a jar in which there are two types of candies.
20 blueberries and 16 strawberries. You perform the following steps:
1) You take out two candies.
2) If the two candies are of the same flavour, you add a blueberry one otherwise, you add the strawberry one.

You repeat these two steps till there is just one candy remaining in the jar. Which flavoured candy will be left?

Asked by Neha on 30 Aug 2023

John buys rice at Rs.60/kg from Britain and then sells them at Rs.5/kg in India. As a result of this, he becomes a millionaire. How come?

Asked by Neha on 22 Jun 2023


Using mathematical symbols like +, -, and x in order to make the equations correct. Replace # with the above-given symbols.

9 # 8 # 7 # 6 # 5 # 4 = 91

Asked by Neha on 12 Dec 2024

If I put in one canary per cage, I have one bird too many. If I put in two canaries per cage, I have one cage too many. How many cages and canaries do I have?

Asked by Neha on 05 Oct 2023

Decode the below four famous ciphers:

8P of the SS
1M of the E
1S of the SS
60M in 1H

Asked by Neha on 17 May 2021


In a supermarket, there is an intelligent glass pane before a refrigerating unit. This glass pane allows cherries and apples through it but does not allow grapes and Orange to pass through it.

Can you identify the rule that the glass pane is following?

Asked by Neha on 18 Jul 2024

Hot Articles

Amazing Facts

Challenging

There is a cryptic organization called Cicada 3301 that posts challenging puzzles online, possibly to recruit codebreakers and linguists.