removed comments
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user