diff --git a/README.md b/README.md index 5ba6483..affda65 100644 --- a/README.md +++ b/README.md @@ -59,9 +59,9 @@ Solutions for [Advent of Code](https://adventofcode.com/) in [Rust](https://www. | [Day 19](./src/bin/19.rs) | `83.9µs` | `90.9µs` | | [Day 20](./src/bin/20.rs) | `323.9µs` | `1.2ms` | | [Day 21](./src/bin/21.rs) | `64.1µs` | `494.7µs` | -| [Day 22](./src/bin/22.rs) | `94.4µs` | `224.7µs` | +| [Day 22](./src/bin/22.rs) | `85.3µs` | `205.8µs` | -**Total: 16.65ms** +**Total: 16.63ms** --- diff --git a/src/bin/22.rs b/src/bin/22.rs index e83f9e7..700483f 100644 --- a/src/bin/22.rs +++ b/src/bin/22.rs @@ -139,8 +139,8 @@ struct Brick { #[derive(Debug, Clone)] struct Tower { bricks: Vec, - supports: Vec>, - supported: Vec>, + supports: Vec>, + supported: Vec>, top_view: Grid2<(usize, u16)>, }