Using TypeScript to solve https://adventofcode.com/2022/ puzzles. Steps to reproduce the solution locally:
- Change directory to the year of 2022:
cd adventofcode/2022- Install dependencies:
npm install- Execute
ts-nodeto the target day and problem number:
npx ts-node 1/1.tsHere's my stats:
| Day | Part1-Time | Rank | Score | Part2-Time | Rank | Score |
|---|---|---|---|---|---|---|
| 6 | 07:33:16 | 58360 | 0 | 07:39:04 | 57360 | 0 |
| 5 | 01:16:02 | 13522 | 0 | 01:18:48 | 12470 | 0 |
| 4 | 00:22:51 | 9828 | 0 | 00:31:22 | 9910 | 0 |
| 3 | 04:40:43 | 35649 | 0 | 05:29:48 | 35838 | 0 |
| 2 | 12:16:37 | 91557 | 0 | 13:03:31 | 88117 | 0 |
| 1 | >24h | 139243 | 0 | >24h | 134153 | 0 |