diff --git a/src/bin/day23.rs b/src/bin/day23.rs index 0fb420b..bbe8c0e 100644 --- a/src/bin/day23.rs +++ b/src/bin/day23.rs @@ -80,17 +80,10 @@ fn propose_moves(i: usize, elves: &Input) -> BTreeMap { { let new_position = adjacent[0] + *elf; - // debug!( - // "{:?} proposes moving by {:?} to {:?}", - // elf, adjacent[0], new_position - // ); - if already_proposed.contains(&new_position) { // cannot move more than one elf to the position moves.remove(&new_position); - // debug!("{:?} would move to the same location ({:?} by {:?}) as other elf, canceling!", elf, new_position, adjacent[0]); - break; } @@ -184,13 +177,11 @@ impl Solution for Day23 { fn part_1(input: &Input) -> Output { let mut positions = input.clone(); - // debug!("== Initial State =="); // show_ground_with_dimensions(&positions, -3, 10, -2, 9); for i in 0..10 { round(i, &mut positions); - // debug!("== End of Round {} ==", i + 1); // show_ground_with_dimensions(&positions, -3, 10, -2, 9); }