<Advent of Code 2024 day 24> (no spoilers) :thread...
# advent-of-code
a
Advent of Code 2024 day 24 (no spoilers) 🧵
h
Can someone ELI5 Part 2 for me, please? 🤯
d
OK actually it’s like this:
Think of every gate as having a output connection to a wire
For some pair of gates (four times), you need to swap the wire the gate output is connected to (this wire may itself be connected as an input to other gates, or it may be a zOut wire)
j
is it possible that there is multiple solutions? I found one but server says it's wrong answer...
b
i don't think so
j
Well yeah it’s possible. My solution worked only for the example x0..x45 and y0..y45, not general x and y 😁
d
there is exactly one solution
p
Got my result for part 2 in 24 minutes of runtime, forgot to return/log/write it, priceless 😄
😁 2
🙂 1
🤦‍♂️ 1
🫠 1