diff --git a/2022/src/day19.rs b/2022/src/day19.rs index 835a968..abf97d6 100644 --- a/2022/src/day19.rs +++ b/2022/src/day19.rs @@ -107,7 +107,7 @@ impl BluePrint { }) = todo.pop() { let ideal_from_now = ideal(time_left as u32); - if u32::from(best - got) > ideal_from_now { + if u32::from(best - got) >= ideal_from_now { continue; } if todo.len() > 1_000_000 {