JP's Blog

  • GitHub * Flickr * Resume
  • Reviews
  • Programming
  • Home Automation
  • Photography
  • Maker
  • Writing
  • Research
  • Search
  • RSS

AoC 2024 Day 24: Ripple Carrinator

2024-12-24

Source: Day 24: Crossed Wires

Full solution for today (spoilers!).

  • Source: Day 24: Crossed Wires
  • Part 1
  • Part 2
    • Brute force
    • Visualizing the problem
    • Actually solving it
  • Benchmarks

Part 1

Given a collection of gates of the form arg0 (AND|OR|XOR) arg2 -> out and input values of form x** and y**, what is the value of z** interpreted as a binary number?

read more...

  • All posts: By Date
  • All posts: By Tag
  • RSS: All
  • RSS: programming/topics

All posts unless otherwise mentioned are licensed under Creative Commons License

Any source code unless otherwise mentioned is licensed under the 3 clause BSD license