Louis Vallat
2cb9d9fa9e
Some checks failed
Build and run challenges / Challenge for day ${{ matrix.day_number }} (1) (push) Successful in 17s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (10) (push) Successful in 18s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (13) (push) Failing after 22s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (14) (push) Successful in 27s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (12) (push) Successful in 31s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (15) (push) Successful in 37s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (17) (push) Successful in 36s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (11) (push) Successful in 49s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (18) (push) Successful in 39s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (16) (push) Successful in 53s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (19) (push) Successful in 48s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (21) (push) Successful in 49s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (20) (push) Successful in 54s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (22) (push) Successful in 51s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (24) (push) Successful in 49s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (23) (push) Successful in 52s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (2) (push) Successful in 1m0s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (25) (push) Successful in 49s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (3) (push) Successful in 50s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (4) (push) Successful in 49s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (6) (push) Successful in 46s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (7) (push) Successful in 44s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (5) (push) Successful in 49s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (9) (push) Successful in 41s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (8) (push) Successful in 43s
Signed-off-by: Louis Vallat <contact@louis-vallat.dev> |
||
---|---|---|
.gitea/workflows | ||
day1 | ||
day2 | ||
day3 | ||
day4 | ||
day5 | ||
day6 | ||
day7 | ||
day8 | ||
day9 | ||
day10 | ||
day11 | ||
day12 | ||
day13 | ||
day14 | ||
day15 | ||
day16 | ||
day17 | ||
day18 | ||
day19 | ||
day20 | ||
day21 | ||
day22 | ||
day23 | ||
day24 | ||
day25 | ||
.gitignore | ||
.gitlab-ci.yml | ||
LICENSE | ||
README.md |
Advent Of Code 2021
Find the sleigh key to save Santa, using your smol submarine!
What
This repository hosts the code that I produced to solve the different puzzles provided for the Advent of Code 2021, that you can find here.
How
In order to solve the different puzzles, I used the Rust programming language, as I wanted a way to experiment and practice this new language.
There are no dependencies and no external crate.
To execute it, just open the specific day you want to run, and use cargo run --release -- ./input
.
Replacing the input
file should work without any code modification.
Why
Because puzzles are fun! And Rust is fun too!
Yikes
The code produced may not be optimal nor the fastest. And that's normal, I tried to spend less than a day (and to do it in my spare time after school).
The code is also very ugly for a reason: usually I use single letters for the variable names. Usually it's fine. For me. For other people re reading me, it's less fun. So I forced myself to use mainly single characters as variable names, just to make me want to stop doing it.