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

Dr Doom invited a group of puzzle fanatics to a party which was oriented toward having puzzle-oriented games. At night, he introduced the guests to a 'unique riddle'. A prize was offered to the one who solved it first.

The guests included six people named Tom Paul, Fox Obama, Jeremy Reener, Alex Murphy, Prim Pastor, and Ellen Page. The winner of the 'unique riddle' contest was to be announced after the dinner. So Dr. Doom stood up and started the announcement:

'Okay now everybody!'
'The winner of�'
'The Hardest Riddle Ever Event'

But before he could complete it, the light went out and his voice was not heard without the mic by anyone. But they already knew who the winner was. Can you deduce the name of the winner?

Asked by Neha on 11 May 2026


Accidentally, two trains are running in the opposite direction and enter a tunnel that is 200 miles long. A supersonic bird that has fled the lab and taken shelter in the tunnel starts flying from one train towards the other at a speed of 1000 mph. As soon as it reaches the second train, he starts flying back to avoid collision and meets the first train again at the other end. The bird keeps flying to and fro till the trains collide with each other.

What is the total distance that the supersonic bird has traveled till the trains collided?

Asked by Neha on 21 Feb 2023

I have lakes with no water, mountains with no stone and cities with no buildings. What am I?

Asked by Neha on 14 Mar 2025


In a competitive exam, each correct answer could win you 10 points and each wrong answer could lose you 5 points. You sat in the exam and answered all the 20 questions, which were given in the exam.
When you checked the result, you scored 125 marks on the test.

Can you calculate how many answers given by you were wrong?

Asked by Neha on 08 Apr 2025

What country can make you shiver?

Asked by Neha on 08 Oct 2024

There is something which you can be arrested for attempting but not for successfully completing.

Asked by Neha on 30 Apr 2024


Katniss and Peeta are liars. They both lie on some specific days.

Katniss lies on Fridays, Saturdays and Sundays. She speaks the truth on all other days.

Peeta lies on Tuesdays, Wednesdays and Thursdays. He speaks the truth on all other days.

Can you tell that one day of the week when both of them will say "Tomorrow, I will lie."?

Asked by Neha on 11 Mar 2026

Can you think of any three-dimensional shape that comprises of exactly two surfaces?

Asked by Neha on 27 Mar 2025

A four-digit number (not beginning with 0) can be represented by ABCD. There is one number such that ABCD=A^B*C^D, where A^B means A raised to the B power. Can you find it?

Asked by Neha on 31 Jul 2023


Christina, Allison and Lena are 3 daughters of John a well-known Mathematician, When I asked John the age of their daughters. He replied "The current age of her daughters is prime. Also, the difference between their ages is also prime."

How old are the daughters?

Asked by Neha on 05 Aug 2023

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.