From faf681b8292a81daa7edf304fb8da6a2efa6910b Mon Sep 17 00:00:00 2001 From: Ryan Reed Date: Tue, 7 Dec 2021 22:13:32 -0500 Subject: [PATCH] Adding comment --- puzzles/day07.py | 1 + 1 file changed, 1 insertion(+) 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