Skip to content

Commit 1f23c11

Browse files
committed
Remove unfortunately added lines.
1 parent 1c02846 commit 1f23c11

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/18.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,6 @@ fn part2(lines: &Vec<String>) -> i64 {
208208
_ => unreachable!()
209209
};
210210
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);
214211
println!("{dir} {count}");
215212
match dir {
216213
"U" => {

0 commit comments

Comments
 (0)