Comment out day 7 code -- still does not work
This commit is contained in:
parent
106ec700ef
commit
5335b160cd
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,7 @@ use std::collections::HashMap;
|
||||||
|
|
||||||
const INPUT: &'static str = include_str!("../../Data/day7-input.txt");
|
const INPUT: &'static str = include_str!("../../Data/day7-input.txt");
|
||||||
|
|
||||||
|
/*
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
struct DirectoryStack<'a> {
|
struct DirectoryStack<'a> {
|
||||||
stack: Vec<&'a Directory>,
|
stack: Vec<&'a Directory>,
|
||||||
|
@ -91,8 +92,10 @@ impl Directory {
|
||||||
+ self.directories.values().map(|d| d.size()).sum::<u32>()
|
+ self.directories.values().map(|d| d.size()).sum::<u32>()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
pub fn main(_filename: &str) -> std::io::Result<()> {
|
pub fn main(_filename: &str) -> std::io::Result<()> {
|
||||||
|
/*
|
||||||
let line_reader = INPUT.lines();
|
let line_reader = INPUT.lines();
|
||||||
|
|
||||||
let root = Directory::new("/");
|
let root = Directory::new("/");
|
||||||
|
@ -141,6 +144,7 @@ pub fn main(_filename: &str) -> std::io::Result<()> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*/
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue