diff options
-rw-r--r-- | 3.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ def part2(nums: Input) -> int: co2: Bits = part2_impl(nums, True) return bits_to_int(oxygen) * bits_to_int(co2) -inp: Input = [tuple(bool(int(c)) for c in l.strip()) for l in open('3.in')] +inp: Input = [tuple(c == '1' for c in l.strip()) for l in open('3.in')] print(part1(inp)) print(part2(inp)) |