Initial commit
This commit is contained in:
11
day4/Day4Part1.hs
Normal file
11
day4/Day4Part1.hs
Normal file
@@ -0,0 +1,11 @@
|
||||
module Day4Part1 (main) where
|
||||
|
||||
import Day4Lib
|
||||
|
||||
convertToString :: Int -> String
|
||||
convertToString = show
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
input <- getContents
|
||||
putStrLn $ convertToString $ day4 input
|
||||
11
day4/Day4Part2.hs
Normal file
11
day4/Day4Part2.hs
Normal file
@@ -0,0 +1,11 @@
|
||||
module Day4Part2 (main) where
|
||||
|
||||
import Day4Lib
|
||||
|
||||
convertToString :: Int -> String
|
||||
convertToString = show
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
input <- getContents
|
||||
putStrLn $ convertToString $ day4Alternate input
|
||||
1000
day4/input
Normal file
1000
day4/input
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user