pub struct Day17 { /* private fields */ }
Expand description
2024 Day 17: Interpreting 3-bit assembly.
Part 2 assumes the input is structured such that the Nth digit in the output depends only on bits N*3 onwards. This enables working backwards from the right digit, checking 8 possible 3-bit patterns for each digit.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Day17
impl RefUnwindSafe for Day17
impl Send for Day17
impl Sync for Day17
impl Unpin for Day17
impl UnwindSafe for Day17
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more