adventofcode-0.1.0.0: Haskell solutions to adventofcode
LicenseMIT
Maintainer@tylerjl
Safe HaskellSafe-Inferred
LanguageHaskell2010

Y2015.D20

Description

Solutions to the day 20 set of problems for adventofcode.com.

Original credit for most of this due to aepsilon: https://www.reddit.com/r/adventofcode/comments/3xjpp2/day_20_solutions/cy5brqe

Synopsis

Documentation

withMinPresents #

Arguments

:: Int

Minimum number of presents house should receive

-> Int

Position of house

Finds lowest house number that receives as many as the given presents

withMinPresents2 #

Arguments

:: Int

Minimum number of presents house should receive

-> Int

Position of house

Finds lowest house number that receives as many as the given presents |given the special delivery case.