Skip to content

etrexel/advent-of-code-2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎄 Advent of Code 2022 🎄

Rust docs codecov license

Solutions to Advent of Code 2022

Getting started

Prerequisites

Make sure you have Rust installed.

Build

Clone the repo and build the project:

git clone https://github.com/etrexel/advent-of-code-2022.git
cd advent-of-code-2022
make build

You should now be able to run the binary:

./target/debug/aoc --help
Solver for Advent of Code 2022

Usage: aoc [OPTIONS]

Options:
  -d, --day <DAY>    Which day's puzzle to solve [default: 1]
  -p, --part <PART>  Which part of the day's puzzle to solve [default: 1]
  -f, --file <FILE>  Path to input file
  -h, --help         Print help information
  -V, --version      Print version information

Sample inputs for each day are organized under the input directory. These files will automatically be used if you don't provide an input file.

About

Solutions to Advent of Code 2022

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published