sln_2015_20
Copyright(c) Eric Mertens 2021
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellNone
LanguageHaskell2010

Main

Description

https://adventofcode.com/2015/day/20

Run a simulation of elves delivering presents which each elf taking a larger step size than the previous.

Synopsis

Documentation

main :: IO () Source #

>>> :main
831600
884520

findHouse :: Int -> UArray Int Int -> Int Source #

Return the house number with at least the given number of presents.