Day 2: Cube Conundrum

Puzzle Description

Advent of Code 2023, Day 2

Scala Center Advent of Code 2023, Day 2

Unlike 2022's Cube Connudrum, this one is rather simple.

Benchmark

Part 1

Mean

Error

JVM

4.972 ms

+/- 0.804 ms

JS

16.252 ms

+/- 1.314 ms

Native

3.133 ms

+/- 0.024 ms

Part 2

Mean

Error

JVM

6.301 ms

+/- 0.906 ms

JS

13.924 ms

+/- 1.105 ms

Native

3.142 ms

+/- 0.026 ms

Run it in the browser!