inputs/day{day}.txt
where {day}
is 2-digit.cd
the directory and run the script with:
node run {day}
![Day 14](/alexanderbira/AoC-2023/raw/main/images/01.png)
![Day 15](/alexanderbira/AoC-2023/raw/main/images/02.png)
![Day 16](/alexanderbira/AoC-2023/raw/main/images/03.png)
![Day 13](/alexanderbira/AoC-2023/raw/main/images/04.png)
![Day 17](/alexanderbira/AoC-2023/raw/main/images/05.png)
![Day 12](/alexanderbira/AoC-2023/raw/main/images/06.png)
![Day 18](/alexanderbira/AoC-2023/raw/main/images/07.png)
![Day 11](/alexanderbira/AoC-2023/raw/main/images/08.png)
![Day 10](/alexanderbira/AoC-2023/raw/main/images/09.png)
![Day 19](/alexanderbira/AoC-2023/raw/main/images/10.png)
![Day 09](/alexanderbira/AoC-2023/raw/main/images/11.png)
![Day 08](/alexanderbira/AoC-2023/raw/main/images/12.png)
![Day 20](/alexanderbira/AoC-2023/raw/main/images/13.png)
![Day 07](/alexanderbira/AoC-2023/raw/main/images/14.png)
![Day 06](/alexanderbira/AoC-2023/raw/main/images/15.png)
![Day 21](/alexanderbira/AoC-2023/raw/main/images/16.png)
![Day 05](/alexanderbira/AoC-2023/raw/main/images/17.png)
![Day 22](/alexanderbira/AoC-2023/raw/main/images/18.png)
![Day 04](/alexanderbira/AoC-2023/raw/main/images/19.png)
![Day 23](/alexanderbira/AoC-2023/raw/main/images/20.png)
![Day 25](/alexanderbira/AoC-2023/raw/main/images/21.png)
![Day 24](/alexanderbira/AoC-2023/raw/main/images/22.png)
![Day 03](/alexanderbira/AoC-2023/raw/main/images/23.png)
![Day 02](/alexanderbira/AoC-2023/raw/main/images/24.png)
![Day 01](/alexanderbira/AoC-2023/raw/main/images/25.png)
- Timer started after input read from file
- Timer stopped after
console.log
called - NodeJS runtime used
Day | Part 1 | Part 1 + Part 2 |
---|---|---|
1 | 1.028ms | 2.401ms |
2 | 1.311ms | 1.673ms |
3 | 21.447ms | 21.901ms |
4 | 1.755ms | 1.91ms |
5 | 0.772ms | 2.91ms |
6 | 0.334ms | 0.356ms |
7 | 28.821ms | 46.531ms |
8 | 3.584ms | 16.565ms |
9 | 2.168ms | 3.643ms |
10 | 6.343ms | 29.744ms |
11 | 16.327ms | 16.402ms |
12 | 10.592ms | 187.926ms |
13 | 3.061ms | 3.458ms |
14 | 3.411ms | 379.943ms |
15 | 3.82ms | 3.924ms |
16 | 9.149ms | 885.463ms |
17 | 166.292ms | 729.292ms |
18 | 2.981ms | 3.316ms |
19 | 4.67ms | 6.187ms |
20 | 9.786ms | 26.343ms |
21 | 10.653ms | 267.126ms |
22 | 37.966ms | 43.879ms |
23 | 31.164ms | 4.534s |
24 | 112.69ms | (Wolfram Cloud used) |
25 | >~100ms (random algorithm) | - |