diff options
author | Oscar Najera <hi@oscarnajera.com> | 2023-01-28 03:46:12 +0100 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2023-01-28 03:46:12 +0100 |
commit | 84ec86b63ac38423ce021448e379b87094f7d4ac (patch) | |
tree | 6574d8b2b5aef30845f38e279a4c389d9fa8897e /AoC2022/01 | |
parent | 497dc1ea9de502761c00ead6de62abe6eeea67d6 (diff) | |
download | scratch-84ec86b63ac38423ce021448e379b87094f7d4ac.tar.gz scratch-84ec86b63ac38423ce021448e379b87094f7d4ac.tar.bz2 scratch-84ec86b63ac38423ce021448e379b87094f7d4ac.zip |
more julia and formatted
Diffstat (limited to 'AoC2022/01')
-rw-r--r-- | AoC2022/01/solver.jl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AoC2022/01/solver.jl b/AoC2022/01/solver.jl index a73deb7..104d224 100644 --- a/AoC2022/01/solver.jl +++ b/AoC2022/01/solver.jl @@ -1,7 +1,7 @@ using Test rations = open("input", "r") do f - map(x->parse.(Int, eachsplit(x)) |> sum, eachsplit(read(f, String), "\n\n")) |> sort + map(x -> parse.(Int, eachsplit(x)) |> sum, eachsplit(read(f, String), "\n\n")) |> sort end @testset "solutions" begin |