Implement 2022 day 14 part 1

This commit is contained in:
2022-12-14 21:47:11 +01:00
parent f48a02c81c
commit 64757031fb
2 changed files with 130 additions and 3 deletions

View File

@@ -134,7 +134,7 @@ pub fn get_both<T>(slice: &mut [T], first: usize, second: usize) -> (&mut T, &mu
}
}
#[derive(Default)]
#[derive(Debug, Default)]
pub struct IndexSet(Vec<u32>);
impl IndexSet {