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

About

Advent of Code 2022

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published