Day 24: Arithmetic Logic Unit

Puzzle Description

Advent of Code 2021, Day 24

Scala Center Advent of Code 2021, Day 24

Full Solution Source

My Solution for 2021, Day 24

There's no writeup yet, but you can view the benchmark and solution here:

Benchmark

Part 1

Mean

Error

JVM

537.262 μs

+/- 5.353 μs

JS

792.659 μs

+/- 1.135 μs

Native

637.354 μs

+/- 0.637 μs

Part 2

Mean

Error

JVM

535.919 μs

+/- 3.214 μs

JS

798.764 μs

+/- 0.803 μs

Native

644.013 μs

+/- 0.737 μs

Run it in the browser!