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

A professor thinks of two consecutive numbers between 1 and 10.
'A' knows the 1st number and 'B' knows the second number

A: I do not know your number.
B: Nor do I know your number.
A: Now I know.

What are the four solutions for this?

Asked by Neha on 22 Jul 2024


A girl says this to her best friend: “I was born in 1955, and I celebrated my 17th birthday last weekend.” Her best friend thinks she’s lying, but she’s actually correct. How is that possible?

Asked by Neha on 12 Jun 2025

I am lying and I always lie. Tell me whether I am lying or telling the truth.

Asked by Neha on 31 Dec 2024


John gave half of the apples he had plus one more to Jacob. He gave half of the remaining ones plus one more to James. Now, John was left with just one apple.

Can you find out how many did he have in the beginning?

Asked by Neha on 13 Nov 2024

The owner of a popular clothing store comes up with his own method of pricing items. A vest costs $8, socks cost $10, a tie costs $6, and a blouse costs $12. Using the owner’s method, how much would a pair of underwear cost?

Asked by Neha on 21 Jun 2025

How many minutes are there in Feb 2017?

Note: The shortest answer is the correct answer.

Asked by Neha on 08 Aug 2024


At a bar, three friends, Mr Green, Mr Red and Mr Blue, were having a drink. One man was wearing a red suit; one a green suit; and the other a blue suit. 'Have you noticed,' said the man in the blue suit, 'that although our suits have colours corresponding to our names, not one of us is wearing a suit that matches our own names?' Mr Red looked at the other two and said, 'You're absolutely correct. What colour suit is each man wearing?

Asked by Neha on 03 Dec 2023

Take away my first letter, then take away my second letter. Then take away the rest of my letters, yet I remain the same. What am I?

Asked by Neha on 14 Oct 2021

Which word does the below Plexor means ?

Hard Word Plexor

Asked by Neha on 11 May 2021


Solve below popular number sequence
314 159 265 358 979 323 846 ?

Asked by Neha on 09 Nov 2025

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.