mdrayer.github.io

Day 7: The Treachery of Whales

See problem at adventofcode.com.

Part One: Determine the horizontal position that the crabs can align to using the least fuel possible. How much fuel must they spend to align to that position?

The amount of fuel spent would be XXXXXXX.

Part Two: New formula. How much fuel must they spend to align to that position?

The amount of fuel spent would be XXXXXXXXXX.

View the code.

← Back