furic/advent-of-code

Repository files navigation

Advent of Code solutions, by Richard Fu.

To run TypeScripts in terminal, easiest way is using ts-node:

> npm i -g ts-node

The repo uses @types/node type definitions for node:

> npm i
> ts-node <filename>

Otherwise, you can also skip npm i by ignoring the type errors:

> ts-node --logError <filename>
SMTWTFS
1234567
891011121314
15161718192021
22232425262728
293031
SMTWTFS
12
3456789
10111213141516
17181920212223
24252627282930
31
SMTWTFS
123
45678910
11121314151617
18192021222324
25262728293031
SMTWTFS
1234
567891011
12131415161718
19202122232425
262728293031