diff --git a/puzzles/day07.py b/puzzles/day07.py index 79aa27c..e6e0b14 100644 --- a/puzzles/day07.py +++ b/puzzles/day07.py @@ -33,6 +33,7 @@ class AlignCrabSubs: return int(sum(abs(num - target) for num in self.positions)) def calc_fuel_pricey(self, target: int) -> int: + # This is slow and needs reworking fuel = 0 for num in self.positions: num_range = abs(num - target) + 1