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

Imagine you are in a room with no windows or doors. How will you get out?

Asked by Neha on 25 Oct 2025


Can you name three consecutive days without using the words Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, or Sunday?

Asked by Neha on 24 Mar 2022

Dwayne Johnson was running away with the loot from a heist in his car along with Vin Diesel. One tire was punctured and he dropped down to replace it. While changing the wheel, he dropped the four nuts that were holding the wheel and they fell into a drain. Vin Diesel gave him an idea using which they were able to drive till the rendezvous point.

What was the idea ?

Asked by Neha on 10 Apr 2023


Why is the longest human nose just 11 inches?

Asked by Neha on 17 Aug 2021

The king of Octopuses has servants who have six, seven or eight legs. The distinguishing characteristics of the servants is that the one with seven legs always lie but the one with either six or eight legs speak the truth always.

One day, four servants meet and converse:

The black one says, 'We have 28 legs altogether.'

The green one says, 'We have 27 legs altogether.'

The yellow one says, 'We have 26 legs altogether.'

The red one says, 'We have 25 legs altogether.'


Can you identify the colour of the servant who is speaking the truth?

Servants with multiple legs

Asked by Neha on 09 Apr 2021

I am the black child of a white father, a wingless bird, flying even to the clouds of heaven. I give birth to tears of mourning in pupils that meet me, even though there is no cause for grief, and at once on my birth, I am dissolved into air. What am I?

Asked by Neha on 20 Apr 2023


During a secret mission, an agent gave the following code to the higher authorities
AIM DUE OAT TIE MOD

However, the information is in one word only and the rest are fake. To assist the authorities in understanding better, he also sent them a clue, If I tell you any one character of the code, you can easily find out the number of vowels in the codeword.

Can you find out the code word?

Asked by Neha on 19 Feb 2023

If in a code language, DISTANCE is written as IDTUBECN and DOCUMENT is written as ODDVNTNE, the how will THURSDAY be coded as in the same language?

Asked by Neha on 17 May 2021

Three friends named Mr. Black, Mr. Yellow and Mr. Green enter a pub on a weekend night. They are wearing either a Black, Yellow or Green shirt.

Mr. Yellow says to them, 'Did you notice that we all are wearing different color shirts than our names?'

To this, the man who was wearing the Green shirt said. 'Wow, thats right.'

Can you identify who is wearing which colour shirt ?

Asked by Neha on 28 Jul 2021


What's the best place to go shopping in the ocean?

Asked by Neha on 31 Oct 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.