]> aoc.elinar.fr Git - aoc_2024/commit
Day16 - part 1 finally working
authoralex <>
Mon, 16 Dec 2024 20:34:03 +0000 (21:34 +0100)
committeralex <>
Mon, 16 Dec 2024 20:34:03 +0000 (21:34 +0100)
commitbd2d0e077bbb16980133165fe6bd186e0b547c6b
tree9c3cc8394d9ca010ebffc06da44f3cc4feb9947a
parent35b84c161c7d8b28292893e1cc511b969d3563d9
Day16 - part 1 finally working

With the help from input maze found on Reddit.
The implementation was not counting the rotation on the current tile but
after. Therefore going backward was seen as cheapest than going forward
at some intersection.
src/day16.rs