Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.08 KB

README.md

File metadata and controls

23 lines (17 loc) · 1.08 KB

Advent of code 2023. Solved in Rust

Static Badge

My Advent of code 2023 solutions in the Rust programming language.

This repository holds a separate Rust project for each day. Parts of a day can be found in part_1.rs and part_2.rs files and have binary names part_1 and part_2 respectively.

Initially (till the day 4) my input-parsers were hand-written (just split, and another split.. and so on). Eventually I started to use the nom crate and become so excited of the simplicity it brings to the proccess of parsing arbitrary text, compared to the splitting approach. So, I decided to rewrite previously solved part_2 with the nom and gived a name part_2_nom.rs for those files.

Since day 4 I started to use nom initially

Run solutions

To run a specific part of some day, navigate to the corresponding project folder and run the following:

cargo run --release --bin part_1

or

cargo run --release --bin part_2

Timings

TODO