Function aoc::year2019::day14::part1

source ยท
pub fn part1(input: &[Reaction]) -> u64
Expand description

Calculate the amount of ore needed for 1 fuel. This will be the most ore needed per unit of fuel. Larger amounts of fuel can use some of the leftover chemicals from intermediate reactions.