Skip to content

pstachula-dev/advent-of-code

Repository files navigation

Advent of code time!

How to run code:

Requirements: Nodejs 12+ / Bun

  1. Install dependencies
npm i
  1. Inside root directory run:
npx ts-node 2021/day2

or

bun 2024/ts/day01/index.ts

2024

  1. bun 1.1.38, Arch Linux x86_64, 32 GB, AMD Ryzen 7 5800X (16) @ 4.851GHz
2024 Part 1 Part 2
Day 1 1.7ms 4.0ms
Day 2 3.4ms 10.3ms
Day 3 1.0ms 1.0ms
Day 4 6.8ms 3.6ms
Day 5 61.4ms 690.2ms
Day 6 1.1ms 926.5ms
Day 7 25.0ms 957.8ms
Day 8 0.9ms 1.2ms
Day 9 11.8ms 2846.3ms
Day 10 7.8 ms 9.5ms
Day 11 2.1ms 28.9ms
Day 12 10.6ms 33.1ms
Day 13 7.1ms - ms
Day 14 9.4ms NaN
Day 15 4.8ms - ms
Day 16 - ms - ms
Day 17 4.6ms - ms
Day 18 3.4ms 33.1ms
Day 19 22.2ms 142.1ms
Day 20 249ms 245.1ms
Day 21 - ms - ms
Day 22 33.9ms 1126.5ms
Day 23 5.2 ms 3.6 ms
Day 24 2.5 ms - ms
Day 25 5.2 ms - ms