My solutions for the Advent of Code yearly challenges
The repository lacks the input.txt
files
required for the codes to work for brevity
reasons.
Given I'm best at JavaScript, I made my mission not to use it. If I do use it, I'll accept my defeat :D
- Day 1: Python
- Day 2: Rust
- Day 3: WIP
- Day 4: WIP
- Day 5: Plon
- Day 1: Python
- Day 2: C++
- Day 3: C++
- Day 4: Dart
- Day 5: TypeScript
- Days 6-25: Moved to Samplasion/aoc2021
To run a particular day's solution, ensure that you have the relevant tools installed and added to your PATH.
For example, to run the solution for day 2, you must ensure that you've installed Rust and Cargo.
For convenience, I have included a run.sh
file
in the root of each year. You can use it like
this:
$ ./run.sh 14 # a day number
but you can omit the number and it'll ask you. Alternatively, you can pipe it:
$ echo "1" | ./run.sh
Please don't :D
JK, you can contribute but please only do that for the solutions that I have already completed (doing otherwise would ruin the concept of AoC).