This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-24
Channels
- # adventofcode (11)
- # asami (1)
- # babashka (9)
- # beginners (81)
- # calva (85)
- # circleci (4)
- # clojure (32)
- # clojure-europe (21)
- # clojure-nl (1)
- # clojure-uk (2)
- # clojurescript (28)
- # cursive (5)
- # fulcro (3)
- # honeysql (1)
- # introduce-yourself (1)
- # jobs-discuss (1)
- # missionary (1)
- # off-topic (1)
- # other-languages (42)
- # re-frame (12)
- # releases (1)
- # shadow-cljs (1)
🧵 Day 24 Solutions Thread: post your solution here
Decompiled code by hand and run brute force, takes 10 mins each part https://github.com/nbardiuk/adventofcode/blob/master/2021/src/day24.clj
@U076FM90B you’re a real hacker!
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
I just wrote some code to run the monad program
to check my calculations but the meat of the problem I solved by hand 🙂
Went ahead and wrote a program anyway because it felt good :D
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
medium sized writeup with spoilers: https://github.com/tschady/advent-of-code/blob/main/doc/2021.adoc#aoc2021d24