diff options
author | Thomas Voss <thomasvoss@live.com> | 2021-12-08 15:18:39 +0100 |
---|---|---|
committer | Thomas Voss <thomasvoss@live.com> | 2021-12-08 15:18:39 +0100 |
commit | 26c649329fbc6b3c38d2c2df76e473cc64e658c1 (patch) | |
tree | ac9149c9bba1412f3b85d1c92ea6e80821d119e7 | |
parent | 6d3b07cdf6cd46261a2e3524b39a809602c9b157 (diff) |
Don't be stupid
-rwxr-xr-x | 2020/10/puzzle-2.py | 2 |
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)) |