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