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

Can you discover the missing number in this series?

37, 10, 82
29, 11, 47
96, 15, 87
42, ?, 15

Asked by Neha on 14 Nov 2024


What do you answer even though it never asks you questions?

Asked by Neha on 12 Oct 2021

I am looking for a word that change both gender and number when i add the letter 'S'.

What Word am I Looking For ?

Asked by Neha on 29 Jan 2021


It spends most of its day eating white, but when it’s quick enough, it gets to eat fruit and sometimes some blue things. It’s in a dark room, where the walls are blue, it runs from a ghost that roams the halls and haunts it all the time. What is it?

Asked by Neha on 30 May 2025

Take 9 from 6, 10 from 9, 50 from 40, and leave 6.

How Come ??

Asked by Neha on 08 Mar 2023

In the addition below, all digits have been replaced by letters. Equal letters represent equal digits and different letters represent different digits.
ABCABA
BBDCAA
ABEABB
ABDBAA
------- +
AAFGBDH
What does the complete addition look like in digits?

Asked by Neha on 04 Jul 2023


What is greater than gold but cannot be bought. it can never be sold and can earn if its sought. though it can be broken, it can still be fixed. for by birth it can't start nor by death it is ended.what am i?

Asked by Neha on 19 Mar 2022

Manish has to secure 40% marks to pass his B.tech final exams.
He got just 40 marks and failed by 40-marks.

What is the maximum marks?

Asked by Neha on 04 Aug 2023

Two friends were stuck in a cottage. They had nothing to do and thus they started playing cards. Suddenly the power went off and Friend 1 inverted the position of 15 cards in the normal deck of 52 cards and shuffled it. Now he asked Friend 2 to divide the cards into two piles (need not be equal) with equal number of cards facing up. The room was quite dark and Friend 2 could not see the cards. He thinks for a while and then divides the cards in two piles.

On checking, the count of cards facing up is same in both the piles. How could Friend 2 have done it ?

Game with Cards

Asked by Neha on 02 Mar 2021


What does this Rebus Picture means ?

Rebus riddle with Show on the side

Asked by Neha on 23 Apr 2021

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.