mirror of
https://gitlab.com/MisterBiggs/aoc_2015-rust.git
synced 2025-06-16 06:56:42 +00:00
precalced answer since it takes forever to run
This commit is contained in:
parent
451a314af5
commit
15763843fe
@ -1,11 +1,13 @@
|
||||
use md5;
|
||||
|
||||
pub fn run() {
|
||||
println!("Day 4:");
|
||||
println!("Day 4: [PRECALCULATED]");
|
||||
let input = "yzbqklnj".to_string();
|
||||
|
||||
println!("\tPart 1: {}", part1(&input, 5));
|
||||
println!("\tPart 2: {}", part1(&input, 6));
|
||||
println!("\tPart 1: 282749");
|
||||
println!("\tPart 2: 9962624");
|
||||
// println!("\tPart 1: {}", part1(&input, 5));
|
||||
// println!("\tPart 2: {}", part1(&input, 6));
|
||||
}
|
||||
|
||||
fn part1(input: &String, zeros: usize) -> usize {
|
||||
|
Loading…
x
Reference in New Issue
Block a user