Compare commits
3 commits
5753f3bc44
...
6f0ffd34db
| Author | SHA1 | Date | |
|---|---|---|---|
| 6f0ffd34db | |||
| a064fe7199 | |||
| 24610576bb |
2 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ def solve(input: list[list[int]]) -> int:
|
|||
|
||||
def main() -> None:
|
||||
input = [
|
||||
[int(line) for line in group.split("\n") if line]
|
||||
[int(line) for line in group.splitlines()]
|
||||
for group in sys.stdin.read().split("\n\n")
|
||||
if group
|
||||
]
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ def solve(input: list[list[int]]) -> int:
|
|||
|
||||
def main() -> None:
|
||||
input = [
|
||||
[int(line) for line in group.split("\n") if line]
|
||||
[int(line) for line in group.splitlines()]
|
||||
for group in sys.stdin.read().split("\n\n")
|
||||
if group
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue