/advent-of-code

My solutions for the Advent of Code yearly challenges

Primary LanguageC++MIT LicenseMIT

Advent of Code

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.

Table of Contents

Languages

2020

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

2021

Moved to Samplasion/aoc2021.

Usage

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

Contributing

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).