day 1 part 1

This commit is contained in:
Skye 2022-12-13 16:16:51 +09:00
commit d5431f6dee
Signed by: me
GPG key ID: 0104BC05F41B77B8
2 changed files with 2238 additions and 0 deletions

2
1.py Normal file
View file

@ -0,0 +1,2 @@
with open("input1.txt") as f:
print(max(map(lambda a: sum(map(lambda b: int(b), a.split('\n'))) , f.read().split("\n\n"))))

2236
input1.txt Normal file

File diff suppressed because it is too large Load diff