diff --git a/README.md b/README.md index 9751af6..f846de9 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ This Julia package contains my solutions for [Advent of Code 2023](https://adven | 11 | [:white_check_mark:](https://adventofcode.com/2023/day/11) | 4.728 ms | 1.71 MiB | [:white_check_mark:](https://github.com/goggle/AdventOfCode2023.jl/blob/master/src/day11.jl) | | 12 | [:white_check_mark:](https://adventofcode.com/2023/day/12) | 9.320 ms | 2.64 MiB | [:white_check_mark:](https://github.com/goggle/AdventOfCode2023.jl/blob/master/src/day12.jl) | | 13 | [:white_check_mark:](https://adventofcode.com/2023/day/13) | 2.202 ms | 3.18 MiB | [:white_check_mark:](https://github.com/goggle/AdventOfCode2023.jl/blob/master/src/day13.jl) | -| 14 | [:white_check_mark:](https://adventofcode.com/2023/day/14) | 36.220 ms | 28.00 MiB | [:white_check_mark:](https://github.com/goggle/AdventOfCode2023.jl/blob/master/src/day14.jl) | +| 14 | [:white_check_mark:](https://adventofcode.com/2023/day/14) | 56.620 ms | 22.56 MiB | [:white_check_mark:](https://github.com/goggle/AdventOfCode2023.jl/blob/master/src/day14.jl) | | 15 | [:white_check_mark:](https://adventofcode.com/2023/day/15) | 2.647 ms | 1.49 MiB | [:white_check_mark:](https://github.com/goggle/AdventOfCode2023.jl/blob/master/src/day15.jl) | | 16 | [:white_check_mark:](https://adventofcode.com/2023/day/16) | 65.902 ms | 53.79 MiB | [:white_check_mark:](https://github.com/goggle/AdventOfCode2023.jl/blob/master/src/day16.jl) | | 17 | [:white_check_mark:](https://adventofcode.com/2023/day/17) | 5.126 s | 467.29 MiB | [:white_check_mark:](https://github.com/goggle/AdventOfCode2023.jl/blob/master/src/day17.jl) | diff --git a/src/day14.jl b/src/day14.jl index d68a0cf..db8eb6b 100644 --- a/src/day14.jl +++ b/src/day14.jl @@ -16,8 +16,8 @@ function day14(input::String = readInput(joinpath(@__DIR__, "..", "data", "day14 pushfirst!(cubes, 0) push!(cubes, length(col) + 1) cubepos[i][j] = cubes - mat = rotr90(mat) end + mat = rotr90(mat) end return [part1(data, cubepos), part2(data, cubepos)] end