335 B
335 B
usage:
> solve 41/63 50/60 55/55 43/64 60/66 51/55 48/59 41/63
10: [Wood, Grains, String, String, Oil, Meat, Meat, Gem, Gem, Gem]
solves for the least number of materials needed given a priority
> priority wood paper grains string oil meat
sets the material priority for solving (what to use and what to try first)