aboutsummaryrefslogtreecommitdiff
path: root/2020
diff options
context:
space:
mode:
Diffstat (limited to '2020')
-rwxr-xr-x2020/10/puzzle-2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/2020/10/puzzle-2.py b/2020/10/puzzle-2.py
index 3042a2b..b0e5d8b 100755
--- a/2020/10/puzzle-2.py
+++ b/2020/10/puzzle-2.py
@@ -23,7 +23,7 @@ def main() -> None:
adaptors.append(0)
adaptors.sort()
- adaptors.append(max(adaptors) + 3)
+ adaptors.append(adaptors[-1] + 3)
print(combos(0))