alan day5 and day6

This commit is contained in:
Alan Evans
2021-12-06 16:52:58 +00:00
parent 1c8a9b0539
commit 68af2120dc
5 changed files with 688 additions and 0 deletions

4
day5/day5.hs Normal file
View File

@@ -0,0 +1,4 @@
import System.IO
main = do
contents <- readFile "input.txt"
putStrLn $ "The file has " ++ show (length (lines contents)) ++ " lines!"