Awesome
Advent of Code 2020
All my Advent of Code repos:
- AoC 2015 in Nim, Python
- AoC 2016 in Python, Clojure (+ visualizations)
- AoC 2017 in Nim, OCaml, Python
- AoC 2018 in Nim, Python, Racket
- AoC 2019 in OCaml, Python
- AoC 2020 in Nim, one liner-y Python, Racket (this repo)
- AoC 2021 in Python, Racket
- AoC 2022 in Python, Clojure
- AoC 2023 in Clojure
- AoC 2024 in Clojure (Clerk notebooks)
Solutions
Run times
- Nim version 1.5.1 (devel)
- compiled with
-d:danger --gc:arc
- CPU: AMD Ryzen 3700x @ 3.6 GHz (Linux 5.4)
The reported results are the average of 20 runs.
01 0.72 ms
02 0.82 ms
03 0.63 ms
04 1.23 ms
05 0.80 ms
06 0.96 ms
07 1.89 ms
08 1.06 ms
09 1.01 ms
10 0.72 ms
11 26.66 ms
12 0.93 ms
13 0.63 ms
14 11.57 ms
15 583.13 ms
16 4.62 ms
17 64.36 ms
18 1.48 ms
19 17.52 ms
20 12.16 ms
21 1.86 ms
22 1.06 ms
23 208.55 ms
24 16.32 ms
25 5.42 ms
--------------
966 ms