aoc2018-0.1.0.0
Day1
Description
day1a :: String -> Int Source #
day1b :: String -> Maybe Int Source #
Returns a repeat if found within a single cycle; otherwise, the running sums are grouped by the | remainder modulus total sum, then the first smallest inter-group gap (if any) is returned.