checkpoint

This commit is contained in:
Joe Ardent 2024-12-25 13:15:51 -08:00
parent ceffe97bf2
commit 3718169c39

View file

@ -22,7 +22,17 @@ fn pt1(input: &str) -> usize {
}
fn pt2(input: &str) -> usize {
0
let mut total = 0;
let mut board = Board::new(input);
let guard = board.guard;
let no = [guard.0, guard.1.next(guard.0)];
while let Some(loc) = board.step() {}
total
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]