Finish day9
This commit is contained in:
11
day9/Day9Part1.hs
Normal file
11
day9/Day9Part1.hs
Normal file
@@ -0,0 +1,11 @@
|
||||
module Day9Part1 (main) where
|
||||
|
||||
import Day9Lib
|
||||
|
||||
convertToString :: Int -> String
|
||||
convertToString = show
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
input <- getContents
|
||||
putStrLn $ convertToString $ day9 input
|
||||
11
day9/Day9Part2.hs
Normal file
11
day9/Day9Part2.hs
Normal file
@@ -0,0 +1,11 @@
|
||||
module Day9Part2 (main) where
|
||||
|
||||
import Day9Lib
|
||||
|
||||
convertToString :: Int -> String
|
||||
convertToString = show
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
input <- getContents
|
||||
putStrLn $ convertToString $ day9' input
|
||||
2000
day9/input
Normal file
2000
day9/input
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user