From 1e5d8585a9a7d85251429812665fc29ffde4bfc8 Mon Sep 17 00:00:00 2001 From: Ishan Jain Date: Tue, 14 Dec 2021 13:47:27 +0530 Subject: [PATCH] Added Day 14 Part 2 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 53ef662..fa8300c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -37,7 +37,7 @@ fn solution((template, pairs): (Vec, HashMap<(char, char), char>)) -> u64 let a = template[i]; let b = template[i + 1]; - let out = recurse(&pairs, &mut memo, a, b, 10); + let out = recurse(&pairs, &mut memo, a, b, 40); for (a, b) in map.iter_mut().zip(out.into_iter()) { *a += b;