From bef16465d78ed5659a0d7c3cf0191c917e235272 Mon Sep 17 00:00:00 2001 From: shu Date: Mon, 9 Dec 2019 15:42:19 +0100 Subject: [PATCH] Day 9: 150 is enough Might want to use mutable vectors tho --- 2019/day9/day9.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2019/day9/day9.hs b/2019/day9/day9.hs index 4189e86..28a2fbc 100644 --- a/2019/day9/day9.hs +++ b/2019/day9/day9.hs @@ -17,7 +17,7 @@ main = do print $ L.reverse out tapePreprocess :: TapeSection -> TapeSection -tapePreprocess t = (V.++) t $ V.replicate 99999 0 +tapePreprocess t = (V.++) t $ V.replicate 150 0 opLength :: Integer -> Integer opLength x