checkpoint
This commit is contained in:
parent
ceffe97bf2
commit
3718169c39
1 changed files with 11 additions and 1 deletions
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue