Fork me on GitHub
#adventofcode
<
2021-12-24
>
alekszelark04:12:22

🧵 Day 24 Solutions Thread: post your solution here

nbardiuk16:12:37

Decompiled code by hand and run brute force, takes 10 mins each part https://github.com/nbardiuk/adventofcode/blob/master/2021/src/day24.clj

1
alekszelark17:12:49

@U076FM90B you’re a real hacker!

norman23:12:52

https://gitlab.com/maximoburrito/advent2021/-/blob/main/src/day24/main.clj Not an automated solution, but it's the code I used at the repl to figure it out

Antonio Bibiano19:12:43

I just wrote some code to run the monad program

Antonio Bibiano19:12:00

to check my calculations but the meat of the problem I solved by hand 🙂

Antonio Bibiano20:12:51

Went ahead and wrote a program anyway because it felt good :D

genmeblog19:12:25

I solved it by hand and then based on this created a macro to generate search code https://github.com/genmeblog/advent-of-code/blob/master/src/advent_of_code_2021/day24.clj

norman07:12:17

I'm not getting part1 tonight. I made good progress reverse engineering the code and have, I think, part of my solution. But I'm going to have to come at it fresh tomorrow. sigh... Good luck to anyone still going...