Skip to content

Commit

Permalink
feat: day 01
Browse files Browse the repository at this point in the history
  • Loading branch information
dxnter committed Dec 2, 2023
1 parent 87512ec commit dd9bf5d
Show file tree
Hide file tree
Showing 9 changed files with 1,195 additions and 8 deletions.
81 changes: 81 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ test_lib = []
[dependencies]
itertools = "0.12.0"
pico-args = "0.5.0"
rayon = "1.8.0"
regex = "1.10.2"
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Solutions for [Advent of Code](https://adventofcode.com/) in [Rust](https://www.

| Day | Part 1 | Part 2 |
| :---: | :---: | :---: |
| [Day 1](./src/bin/01.rs) | `26.0µs` | `753.8µs` |

**Total: 0.00ms**
**Total: 0.78ms**
<!--- benchmarking table --->
7 changes: 7 additions & 0 deletions data/examples/01-2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
two1nine
eightwothree
abcone2threexyz
xtwone3four
4nineeightseven2
zoneight234
7pqrstsixteen
4 changes: 4 additions & 0 deletions data/examples/01.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
1abc2
pqr3stu8vwx
a1b2c3d4e5f
treb7uchet
Loading

0 comments on commit dd9bf5d

Please sign in to comment.