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

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


How far can you walk into the woods?

Asked by Neha on 21 Jul 2025

Alex opened 24 presents
Jonah opened 8 presents
Clara opened 1 present

Can you find out how many presents were opened by Candy?

Asked by Neha on 06 May 2024


What common phrase is represented by the below lines

Easy going:
Weak, 'I'm going.'
Tough, 'I'm staying.'

Medium going:
Weak, 'I'm going.'
Tough, 'I'm staying.'

Tough going:
Weak, 'I can't do it, I'm staying!'
Tough, 'Let's get going.'

Asked by Neha on 19 Nov 2024

A beggar on the street can make one cigarette out of every 6 cigarette butts he finds. After one whole day of searching and checking public ashtrays the beggar finds a total of 72 cigarette butts. How many cigarettes can he make and smoke from the butts he found?

Asked by Neha on 29 May 2024

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


The person who makes it has no need for it; the person who buys it has no use for it. The person who uses it can neither see nor feel it. What is it?

Asked by Neha on 11 Mar 2025

By using 'because' continuously three times, can you make an English statement ?

Asked by Neha on 28 Aug 2021

If you remove one from eleven, it becomes ten. If you remove one from nine, it becomes ten.

How is this possible?

Asked by Neha on 25 Sep 2023


How can you take 2 from 5 and leave 4?

Asked by Neha on 03 Apr 2022

Hot Articles

Amazing Facts

Gamers

In 2011, people playing Foldit, an online puzzle game about protein folding, resolved the structure of an enzyme that causes an Aids-like disease in monkeys. Researchers had been working on the problem for 13 years. The gamers solved it in three weeks.