Skip to content

dehanjl/adventofcode-2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2022

A (mostly) Rust 🦀 set of solutions to the Advent of Code puzzles for 2022.

Instructions

Run a day using cargo run --bin <day> to run an unoptimized build with example input. Run a day using cargo run --release --bin <day> -- --real.

The runner expects that the example input has been provided. It will try to automatically the download the real input. Add the AOC_SESSION environment variable using:

export AOC_SESSION=<your session cookie> #Unix

Folder Structure

.
├── alternate
│   └── dayX # Alternate/non-refactored/different language solutions to day X
├── inputs
│   ├── example # example puzzle inputs
│   │   └── dayX.txt
│   └── real # real puzzle inputs
│       └── dayX.txt
└── src
    ├── bin
    │   └── dayX.rs # solution for day X
    ├── lib.rs # helper library
    └── main.rs # main project binary, does nothing right now

Helpful Resources

Releases

No releases published

Packages

No packages published