Initial commit

This commit is contained in:
2023-12-05 11:52:53 +01:00
commit 8fcee096b6
34 changed files with 4217 additions and 0 deletions

20
README.md Normal file
View File

@@ -0,0 +1,20 @@
# Advent of Code
My solutions in various languages. Mainly used to learn the languages, or new concepts in the languages I am already familiar with.
## Usage
### TypeScript
Move to the `typescript` directory. The main entrypoint is the `runner.ts` file.
To print both solutions for some dayXX (where XX is from 01-25), enter the following command:
```bash
# To run the example data input (data/dayXX.example.txt)
# Also, the Y in the `example` flag is for different example files
npx ts-node runner.ts dayXX -eY
# To run the real data
npx ts-node runner.ts dayXX
```