diff --git a/2024/11/script.py b/2024/11/script.py index b555b9e..66b8ad1 100644 --- a/2024/11/script.py +++ b/2024/11/script.py @@ -44,7 +44,7 @@ def blink_n_times(stones: dict[int, int], n: int) -> dict[int, int]: def num_stones(stones: dict[int, int]) -> int: - return sum(count for _, count in stones.items()) + return sum(stones.values()) def main():