From 84ec86b63ac38423ce021448e379b87094f7d4ac Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Sat, 28 Jan 2023 03:46:12 +0100 Subject: more julia and formatted --- AoC2022/01/solver.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AoC2022/01/solver.jl') 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 -- cgit v1.2.3