Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 765 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 765 Bytes

Day 06 - Guard Gallivant

Part 1

Part 1 Solution

$ cargo run --release -- --input 2024/day06/input.txt 2024 06 part1
5409

Part 2

Part 2 Solution

Caution

Solution is incomplete. Answer for input example is OK so I am probably missing an edge-case. I've printed the map to try and trace back the path manually but 475 possible obstructions is a very large amount, therefore I decided to abandon for now.

$ cargo run --release -- --input 2024/day06/input.txt 2024 06 part2
475
# Wrong answer, too low :(