Compare commits
3 commits
d2e2d79d71
...
2454a0abd0
| Author | SHA1 | Date | |
|---|---|---|---|
| 2454a0abd0 | |||
| 8f471bd803 | |||
| 33ac0727e3 |
1 changed files with 0 additions and 2 deletions
|
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import functools
|
||||
import sys
|
||||
|
||||
|
||||
|
|
@ -11,7 +10,6 @@ def solve(input: list[str]) -> int:
|
|||
for record, groups in map(str.split, input)
|
||||
]
|
||||
|
||||
@functools.cache
|
||||
def solve_line(record: str, groups: tuple[int, ...]) -> int:
|
||||
# Empty string must have no groups left, or it's not a solve
|
||||
if len(record) == 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue