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