Skip to content

Comment on 100 Prisoners and a Lampparent

Comments

This is a clever and practical idea, in the sense of having Indiana Jones just shoot the guy with his pistol, instead of engaging in an elaborate sword fight, but it violates the spirit of the problem. If we solved all of our problems like this, we would kill the patients instead of curing the diseases.

The premise of the problem is very clear: How do you tally the presence of 100 unique events, some of which may repeat themselves, when you may use one and only one bit to register the state of the system?

It depends on the disease, doesn't it? At this point (for some diseases) it's much more cost-effective to kill the patient that would have gone towards prolonging a state of suffering. Then send the funds towards Against Malaria or something else. ;-)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.