6.3.90.900
22 Day 22
The puzzle. Our input tells us our hit points and damage.
<day22> ::=
22.1 What’s the least mana we can spend and win?
Did I mention I hate RPGs? Well, this question is much more RPG-ish than Day 21. It involves mana and spellscasting. So I’m taking a pass. If someone devises a concise solution, I’ll be happy to add it to this page.
Otherwise, onward to Day 23.