Skip to content

Commit

Permalink
Year 2017: Day 19
Browse files Browse the repository at this point in the history
  • Loading branch information
joshleaves committed Apr 1, 2024
1 parent da748f1 commit fdea728
Show file tree
Hide file tree
Showing 8 changed files with 427 additions and 96 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ Of note:
- The changelog 2015.5.2 has been rewritten from each commit content.
- This file may be amended entirely in the future to adhere to the [GNU Changelog style](https://www.gnu.org/prep/standards/html_node/Style-of-Change-Logs.html#Style-of-Change-Logs)

## [2017.19.1]
### Added
- Solved [exercice for 2017, day 19](src/year_2017/19.rs).


## [2017.18.1]
### Added
- Solved [exercice for 2017, day 18](src/year_2017/18.rs).
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "advent-rs"
version = "2017.18.1"
version = "2017.19.1"
edition = "2021"
authors = ["Arnaud 'red' Rouyer"]
readme = "README.md"
Expand Down
8 changes: 8 additions & 0 deletions NOTES_2017.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,11 @@ Nothing hard, until you see how much ONE BILLION ITERATIONS actually is. Good ne
## Day 17: Spinlock

As always, there's a trick to avoid looping too much: since `0` is ALWAYS at the 0th position, we just have to store the last number we are inserting (allegedly, no need to allocate a real Vec) after it.

## Day 18: Duet

Threading is a bitch.

## Day 19: A Series of Tubes

Worse than maps? Maps that aren't reliably readable by machines.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ As I said, [Consistency is hard](https://github.com/joshleaves/advent-rb), and I
I'm also adding notes that may be useful if you're (like me) discovering Rust:
- [2015, complete!](NOTES_2015.md)
- [2016, complete!](NOTES_2016.md)
- [2017, up to day 18](NOTES_2017.md)
- [2017, up to day 19](NOTES_2017.md)

# Regarding style rules
I'm gonna use a mix of what `cargo fmt` does, with some stuff that feels more natural to me.
Expand Down
Loading

0 comments on commit fdea728

Please sign in to comment.