Fix 2023 day 20 for API.

This commit is contained in:
Mikael CAPELLE 2024-12-10 16:54:18 +01:00
parent 781e4cd6e1
commit 22129048e7

View File

@ -1,4 +1,3 @@
import sys
from collections import defaultdict
from math import lcm
from typing import Any, Iterator, Literal, TypeAlias
@ -67,7 +66,7 @@ class Solver(BaseSolver):
def solve(self, input: str) -> Iterator[Any]:
self._modules = {}
lines = sys.stdin.read().splitlines()
lines = input.splitlines()
for line in lines:
name, outputs_s = line.split(" -> ")