day 11 part 2
This commit is contained in:
parent
ea5b4a7a3a
commit
f2b39c456d
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ fn main() -> Result<()> {
|
||||||
empty_rows.sort();
|
empty_rows.sort();
|
||||||
|
|
||||||
let mut expanded_galaxies = HashSet::new();
|
let mut expanded_galaxies = HashSet::new();
|
||||||
let expansion = 2;
|
let expansion = 1_000_000;
|
||||||
for (x, y) in galaxies.into_iter() {
|
for (x, y) in galaxies.into_iter() {
|
||||||
let Err(col) = empty_columns.binary_search(&x) else {
|
let Err(col) = empty_columns.binary_search(&x) else {
|
||||||
bail!("x={x} found in empty columns");
|
bail!("x={x} found in empty columns");
|
||||||
|
|
Loading…
Reference in a new issue