We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c02846 commit 1f23c11Copy full SHA for 1f23c11
src/18.rs
@@ -208,9 +208,6 @@ fn part2(lines: &Vec<String>) -> i64 {
208
_ => unreachable!()
209
};
210
let count = i64::from_str_radix(&color[1..color.len()-1], 16).unwrap();
211
- let size = grid[0].len() * grid.len();
212
- let gib: f64 = 1024f64 * 1024f64 * 1024f64;
213
- println!("grid size: {}x{} ({:.2} GiB)", grid[0].len(), grid.len(), size as f64 / gib);
214
println!("{dir} {count}");
215
match dir {
216
"U" => {
0 commit comments