Day 17: Trick Shot

Puzzle Description

Advent of Code 2021, Day 17

Scala Center Advent of Code 2021, Day 17

Full Solution Source

My Solution for 2021, Day 17

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

Benchmark

Part 1

Mean

Error

JVM

131.616 μs

+/- 2.849 μs

JS

4.478 μs

+/- 0.008 μs

Native

14.179 μs

+/- 0.723 μs

Part 2

Mean

Error

JVM

6.895 ms

+/- 0.212 ms

JS

14.698 ms

+/- 0.354 ms

Native

10.042 ms

+/- 0.007 ms

Run it in the browser!