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

890.494 μs

+/- 12.513 μs

JS

1324.334 μs

+/- 2.543 μs

Native

1077.495 μs

+/- 0.523 μs

Part 2

Mean

Error

JVM

890.835 μs

+/- 12.776 μs

JS

1323.689 μs

+/- 3.653 μs

Native

1086.279 μs

+/- 0.539 μs

Run it in the browser!