diff options
-rw-r--r-- | 2019/5.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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]))) |