Initial commit
This commit is contained in:
commit
f242d2b0df
420 changed files with 62521 additions and 0 deletions
3
2022/day01/day01.jl
Normal file
3
2022/day01/day01.jl
Normal file
|
@ -0,0 +1,3 @@
|
|||
ll = [[parse(Int, x) for x in split(s)] for s in split(read("input", String), "\n\n")]
|
||||
println(maximum(sum(l) for l in ll))
|
||||
println(sum(sort([sum(l) for l in ll])[end-2:end]))
|
Loading…
Add table
Add a link
Reference in a new issue