Compare commits
3 commits
6f0ffd34db
...
5753f3bc44
Author | SHA1 | Date | |
---|---|---|---|
Bruno BELANYI | 5753f3bc44 | ||
Bruno BELANYI | fd625a110a | ||
Bruno BELANYI | 06481d39fa |
|
@ -9,7 +9,7 @@ def solve(input: list[list[int]]) -> int:
|
|||
|
||||
def main() -> None:
|
||||
input = [
|
||||
[int(line) for line in group.splitlines()]
|
||||
[int(line) for line in group.split("\n") if line]
|
||||
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.splitlines()]
|
||||
[int(line) for line in group.split("\n") if line]
|
||||
for group in sys.stdin.read().split("\n\n")
|
||||
if group
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue