Skip to content

Files

Latest commit

11dd049 · Jan 16, 2024

History

History
42 lines (30 loc) · 4 KB

README.md

File metadata and controls

42 lines (30 loc) · 4 KB

🎄 Advent of Code

Some of my solutions for Advent of Code puzzles, mostly done during my spare time or coffee breaks.

2023

Language Problem Solution Part 1 Part 2
Day 1 Rust Trebuchet?! main.rs
Day 2 Rust Cube Conundrum main.rs
Day 3 Rust Gear Ratios main.rs
Day 4 Rust Scratchcards main.rs
Day 5 Rust If You Give A Seed A Fertilizer todo todo
Day 6 Rust Wait For It main.rs
Day 7 Rust Camel Cards todo todo
Day 8 Rust Haunted Wasteland main.rs
...
Day 24 Rust Never Tell Me The Odds main.rs todo

2022

Language Problem Solution Part 1 Part 2
Day 1 Rust Calorie Counting main.rs
Day 2 Rust Rock Paper Scissors main.rs
Day 3 Rust Rucksack Reorganization main.rs

Input data and notes

Due to copyright requirements of Advent of Code one is not allowed to publicy share its personal generated input files.
If you want to run my solutions, you must login with your account to adventofcode.com, download your personal inputs and use them instead of the encrypted files.

For my reference, inputs here are committed but encrypted with git-crypt.
For this reason, if you just clone and run the projects within this repository none of the actual input files works.
Consider also that some test cases also checks against my personal solution number, you need to replace values with your solutions in Rust unit tests.

Decrypt input files

  1. Install git-crypt: brew install git-crypt
  2. Unlock the repository with the personal encryption key: git-crypt unlock ~/aoc.key