remove unnecessary prints

This commit is contained in:
ktims committed 2026-12-02 14:41:24 -07:00
1 parent c551026d69
commit 4399ab9cad
5 files changed
+18 -18

No files matched your search

+1
View File
@@ -6,6 +6,7 @@ use std::{
use aoc_runner_derive::{aoc, aoc_generator};
use indicatif::{ProgressBar, ProgressStyle};
use itertools::Itertools;
use rayon::iter::{IntoParallelRefIterator, ParallelIterator};
use regex::Regex;
use wide::{CmpGt, i16x16};
+1 -1
View File
@@ -26,7 +26,7 @@ fn part1(input: &[Coord2d]) -> u64 {
input
.iter()
.tuple_combinations()
.inspect(|(a, b)| println!("{a} vs {b} = {}", a.x().abs_diff(b.x()) * a.y().abs_diff(b.y())))
// .inspect(|(a, b)| println!("{a} vs {b} = {}", a.x().abs_diff(b.x()) * a.y().abs_diff(b.y())))
.map(|(a, b)| (a.x().abs_diff(b.x()) + 1) * (a.y().abs_diff(b.y()) + 1))
.sorted_unstable()
.next_back()