Day 2: I Was Told There Would Be No Math

Puzzle Description

Advent of Code 2015, Day 2

Full Solution Source

My Solution for 2015, Day 2

Benchmark

Part 1

Mean

Error

JVM

857.465 μs

+/- 8.691 μs

JS

1695.371 μs

+/- 0.678 μs

Native

1119.663 μs

+/- 0.713 μs

Part 2

Mean

Error

JVM

889.133 μs

+/- 1.548 μs

JS

1725.630 μs

+/- 16.479 μs

Native

1108.430 μs

+/- 1.163 μs

Run it in the browser!