Browse Source

day7: beautify ?

day7backup
Arranun 2 years ago
parent
commit
6cb104199c
  1. 1
      day7.hs

1
day7.hs

@ -5,7 +5,6 @@ import Data.Either as Either
main = do
software <- getList <$> getContents
--let output = operation state state 0 input []
let combs = getComb [5,6,7,8,9]
--mapM putStrLn(map show combs)
putStrLn(show $ List.maximum ( map (\x-> part2 ( prepareAmps x software) 0 ) combs ))

Loading…
Cancel
Save