Grueling learning process through Day7
This commit is contained in:
11
day7/Day7Part1.hs
Normal file
11
day7/Day7Part1.hs
Normal file
@@ -0,0 +1,11 @@
|
||||
module Day7Part1 (main) where
|
||||
|
||||
import Day7Lib
|
||||
|
||||
convertToString :: Int -> String
|
||||
convertToString = show
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
input <- getContents
|
||||
putStrLn $ convertToString $ day7 input
|
||||
11
day7/Day7Part2.hs
Normal file
11
day7/Day7Part2.hs
Normal file
@@ -0,0 +1,11 @@
|
||||
module Day7Part2 (main) where
|
||||
|
||||
import Day7Lib
|
||||
|
||||
convertToString :: Int -> String
|
||||
convertToString = show
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
input <- getContents
|
||||
putStrLn $ convertToString $ day7' input
|
||||
1044
day7/input
Normal file
1044
day7/input
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user