Initial commit
This commit is contained in:
commit
f242d2b0df
420 changed files with 62521 additions and 0 deletions
3
2022/day01/day01.py
Normal file
3
2022/day01/day01.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
l = [sum(map(int, x.splitlines())) for x in open("input").read().split("\n\n")]
|
||||
print(max(l))
|
||||
print(sum(sorted(l)[-3:]))
|
Loading…
Add table
Add a link
Reference in a new issue