Skip to content

My solutions to the Advent of Code problems 2023 written in Rust

License

Notifications You must be signed in to change notification settings

jonatan-kruse/advent-of-rust-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Rust 2023

Solving the Advent of Code problems in the programming language Rust.

Command for creating a new day

cargo new day[NUM] --bin --vcs none

Command to run the solutions (cd into the day[NUM] first)

cargo run

Command to run the tests (cd into the day[NUM] first)

cargo test

Setup steps

  1. Put the input data into the "i" file
  2. Put the test data into the "t1" file
  3. Change the assert in the test in star1.rs to the expected result of t1
  4. Implement the solution in the star1 function in star1.rs
  5. do 2-4 for star2

About

My solutions to the Advent of Code problems 2023 written in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages