My solutions to the advent of code 2021
- F# 86%
- C# 8.6%
- Python 5.4%
| day01 | ||
| day02 | ||
| day03 | ||
| day04 | ||
| day05 | ||
| day06 | ||
| day07 | ||
| day08 | ||
| day09 | ||
| day10 | ||
| day11 | ||
| day12 | ||
| day13 | ||
| day14 | ||
| day15 | ||
| day16 | ||
| day17 | ||
| day18 | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
Advent of Code 2021
This repo contains my solutions to the Advent of Code 2021 using primarily F#, with C# and Python as fallbacks for when I'm stuck.
The code will likely be bad.
Setup
I'm using .Net 6.0 and Python 3.10.
Python requirements (if there are any) can be installed with pip install -r requirements.txt.
Any C# scripts will require dotnet-script.
Running solutions/tests
Any tests I write will likely just be asserts in each solution file.
How to run the solution file for each day depends on the language.
F#
For F# solutions dotnet fsi dayXX/solution.fsx
For F# solutions including assertions dotnet fsi -d:DEBUG dayXX/solution.fsx
C#
For C# solutions dotnet script dayXX/solution.csx
Python
For Python solutions python dayXX/solution.py