Skip to content

πŸŽ…πŸΌ πŸ¦€ Advent of Code 2022, solved using Rust.

Notifications You must be signed in to change notification settings

magnusrodseth/aoc-2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

30 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ… πŸ¦€ Advent of Code 2022

Developer Information

Developed by Magnus RΓΈdseth.

Running the application

# Navigate to the project directory
cd aoc-2022

# View available command line arguments
cargo run -- --help

# Run the solution for a given date (day01 - day25)
cargo run <DATE>

# Run tests with sample input for a given date (day01 - day25)
cargo test <DATE>

Solving tasks

Each file in src/solutions corresponds to one day of puzzles.

  1. For each day, simply copy src/solutions/day01.rs and rename it to the correct day.
  2. Next, add it as a module in src/solutions/mod.rs.
  3. Lastly, call the correct day's solve function in lib.rs.

About

πŸŽ…πŸΌ πŸ¦€ Advent of Code 2022, solved using Rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages