License | MIT |
---|---|
Maintainer | @tylerjl |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Solutions to the day 24 set of problems for adventofcode.com.
Synopsis
- idealEntanglement :: Int -> String -> Int
- idealEntanglementOptimized :: Int -> String -> Maybe Int
Documentation
:: Int | How many compartments to divide amongst. |
-> String | Input as a string containing newlined-separated list of package weights. |
-> Int | Ideal entanglement value for the resulting package distribution. |
Find the ideal entanglement value for a given input of packages.