Skip to content

nated0g/aoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎄 My Advent of Code Solutions in Rust 🦀

My journey through Advent of Code in Rust. This repository contains my solutions and the tools I use to manage them.

📝 Structure

  • Solutions are organized by year and day
  • Inputs are stored in src/inputs/y20xx/dayxx.txt (not comitted to the repository, as they are unique to each user and not meant to be shared)
  • Unit tests use the example inputs provided in each puzzle

🛠️ Tools

I use aoc-cli to manage puzzle inputs and submissions.

You can install it with

cargo install aoc-cli

Then, check the aoc-cli repo for how to set up your session variable.

Two helper scripts are provided:

fetch.sh

Downloads puzzle input and description:

./fetch.sh 2023 1  # Downloads day 1 of year 2023

solve.sh

Runs solution and submits answer:

./solve.sh 2023 1 1  # Submits part 1 of day 1, 2023

📈 Progress

2022

2023

2024

🚀 Running Solutions

# Run a specific solution
cargo run -- 2024 1 1  # Runs year 2024, day 1, part 1

# Run tests
cargo test

About

My Advent Of Code (https://adventofcode.com) solutions in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published