News for hackers. Stuff that matters.
Re:A liar who always lies says "All my hats are green." by oneshtein on Monday December 09, 2024 @03:21PM (#42370148)
If you will try to play this game in real life, with such logic it will be easy to trick you 100% of the time.
Re:A liar who always lies says "All my hats are green." by suggestion on Thursday December 12, 2024 @01:25PM (#42401804)
You can write a simulation that does this (as MIT and several others have) and Monte Carlo it. You will find that the logic is 100% correct. The prize MUST be either the door you picked initially or the one you can switch to. There is a 99% chance it's not the one you picked.

https://web.mit.edu/rsi/www/2013/files/MiniSamples/MontyHall...