removed comments

This commit is contained in:
Johannes Schaefer
2018-12-05 10:50:27 +01:00
parent 40957e1252
commit 50cd1d6b00

View File

@@ -4,7 +4,7 @@ pub fn task1() {
let mut input = utils::read_file("input/day05.txt");
input = reduce(input.as_str());
println!("resulting polymer: {}", input); //11591 too high
println!("resulting polymer: {}", input);
println!("RESULT: {}", input.len());
}
@@ -25,7 +25,7 @@ pub fn task2() {
}).min_by_key(|it| it.1)
.unwrap();
println!("Best: {} (length {})", best.0, best.1); // 11184 too high, 4328 too low
println!("Best: {} (length {})", best.0, best.1);
}
fn reduce(input: &str) -> String {