Home

Awesome

adventofcode

Advent of code solutions, probably mostly in C++, but maybe in Rust in the (near) future.

Feel free to create a new issue if you have any questions!

Added to Bogdanp/awesome-advent-of-code#C++ (Solutions to AoC in C++)

Example use of the template (in a Bash shell)

Folder creation

$ cd adventofcode/problems/
$ ./newday.sh day24 # Add "&& code day24" if you also want to open it in Visual Studio Code
$ 

Program compilation

$ cd day24
$ make

Running part 1 on the sample input

$ ./day24 < 1.IN

Running part 2 on the main input

$ ./day24_2 < 2.IN