My dumb code for the Advent of Code 2021 challenges
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
anna af7f6179df
day 3 part 2
10 months ago
.idea intial commit uwu 10 months ago
input day 3 part 1 10 months ago
src day 3 part 2 10 months ago
.gitignore intial commit uwu 10 months ago
Cargo.lock intial commit uwu 10 months ago
Cargo.toml day 3 part 2 10 months ago
LICENSE public release 10 months ago
README.md day 3 part 1 10 months ago

README.md

Advent of Code 2021

These are my personal solutions for the Advent of Code 2021 challenges. Please note that these are definitely not the best ways of solving the problems from a software architecture point of view, but that is not my intention. This means you should not take this as sound design advice for your projects, especially since i'm very new to Rust and want to play with the language to build some intuition for what works well and what you should rather not do. I'm trying to solve everything using interesting algorithms, bit bangers, and similar stuff that is highly optimized to tackle just the very specific problem at hand, rather than to come up with a general solution.

Running

My input files are in input and should be fed into the program's stdin. For example, to run the challenge for day 2, type

cat input/day02.txt | cargo run day02

Starting from day 3, the individual challenges are further subdivided into part 1 and 2. The input stays the same, but the binary name is dayXXpY:

cat input/day03.txt | cargo run day03p1

License

Everything is released under the 2-Clause BSD License, which can be found in the LICENSE file.