Function aoc::year2019::day01::part2

source ยท
pub fn part2(input: &[u32]) -> u32
Expand description

Calculate the fuel requirements taking into account that fuel needs more fuel to lift it. Mass of 8 or below results in zero or negative fuel so we can stop.