AOC2024/inputs/day05.example.txt
jmug 4a266a3dc1 Solved day 5, fun!
Using a hash map of hash maps would have made these solutions cleaner
and probably more efficient as well, but I wanted to do some bit
wrangling and I liked the idea of storing the rules in a single integer.

Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2024-12-05 21:15:44 +00:00

28 lines
205 B
Text

47|53
97|13
97|61
97|47
75|29
61|13
75|53
29|13
97|29
53|29
61|53
97|53
61|29
47|13
75|47
97|75
47|61
75|61
47|29
75|13
53|13
75,47,61,53,29
97,61,53,29,13
75,29,13
75,97,47,61,53
61,13,29
97,13,75,29,47