diff options
Diffstat (limited to '2021/10')
-rw-r--r-- | 2021/10/puzzles.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/2021/10/puzzles.py b/2021/10/puzzles.py index f423c43..bf6a923 100644 --- a/2021/10/puzzles.py +++ b/2021/10/puzzles.py @@ -1,8 +1,7 @@ #!/usr/bin/env python3 # START PART 1 -import collections -from typing import Counter +from collections import Counter # END PART 1 START PART 2 from functools import reduce # END PART 2 @@ -15,7 +14,7 @@ def main() -> None: data = list(map(lambda l: l.strip(), f.readlines())) # START PART 1 - counts: Counter[int] = Counter() + counts: Counter[char] = Counter() # END PART 1 START PART 2 scores: list[int] = [] # END PART 2 |