Day 4: Scratchcards

Puzzle Description

Advent of Code 2023, Day 4

Scala Center Advent of Code 2023, Day 4

Gambling... with the prize of more gambling!

Benchmark

Part 1

Mean

Error

JVM

1912.151 μs

+/- 2.968 μs

JS

3735.551 μs

+/- 2.859 μs

Native

8873.970 μs

+/- 7.749 μs

Part 2

Mean

Error

JVM

1949.178 μs

+/- 11.041 μs

JS

3784.500 μs

+/- 2.436 μs

Native

8880.952 μs

+/- 10.077 μs

Run it in the browser!