summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--2019/5.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/2019/5.hs b/2019/5.hs
index 25137d8..1f05561 100644
--- a/2019/5.hs
+++ b/2019/5.hs
@@ -7,5 +7,5 @@ import IntCode
main :: IO ()
main = do
initMem <- parse . head <$> getInput 5
- print (snd (run initMem [1]))
- print (snd (run initMem [5]))
+ print (last (snd (run initMem [1])))
+ print (last (snd (run initMem [5])))