Skip to content

jstuczyn/AdventOfCode

Repository files navigation

AdventOfCode

Keeping track of solutions to various puzzles from https://adventofcode.com/

License Build Status Coverage

About

Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems, or to challenge each other.

You don't need a computer science background to participate - just a little programming knowledge and some problem solving skills will get you pretty far. Nor do you need a fancy computer; every problem has a solution that completes in at most 15 seconds on ten-year-old hardware.

Latest puzzle

Completion Status

Previous years

Completion Status Completion Status Completion Status Completion Status Completion Status

Running the code

There are two ways of running particular solution. One can either go to the directory associated with the given day, for example:

cd 2022/day01

and run it from there:

cargo run --release

Alternatively, there's a dedicated solution-runner binary that's can run any sub-solution based on arguments provided. For example

./solution-runner --year 2022 --day 1

Note:

solutions from 2019, 2020 and 2021 are not guaranteed to run correctly, as they got imported from old repositories and have not been written with the current runner framework in mind.

Adding new day

Run the following command to generate the template:

cargo run -p aoc-init -- --year $YEAR --day $DAY

About

Keeping track of solutions to various puzzles from https://adventofcode.com/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages