… forgot to remove a line
This commit is contained in:
parent
51a8583a97
commit
5ab4cd7856
@ -6,7 +6,6 @@ import Control.Monad
|
||||
main :: IO ()
|
||||
main = do
|
||||
input <- map (map read . filter (/="->")) <$> map (splitOneOf ", ") <$> lines <$> readFile "input"
|
||||
let part1inp = filterOrth input
|
||||
let process = length . M.filter (> 1) . M.fromListWith (+) . toMap
|
||||
print $ join (***) process $ (filterOrth input,input)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user