day 11 part 2

This commit is contained in:
Andy Teijelo 2023-12-13 00:54:19 -05:00
parent ea5b4a7a3a
commit f2b39c456d

View file

@ -35,7 +35,7 @@ fn main() -> Result<()> {
empty_rows.sort();
let mut expanded_galaxies = HashSet::new();
let expansion = 2;
let expansion = 1_000_000;
for (x, y) in galaxies.into_iter() {
let Err(col) = empty_columns.binary_search(&x) else {
bail!("x={x} found in empty columns");