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

Main

Description

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

Follow up, down, left, right instructions to build a path.

>>> :main + ">\n"
2
2
>>> :main + "^v\n"
2
3
>>> :main + "^>v<\n"
4
3
>>> :main + "^v^v^v^v^v\n"
2
11
Synopsis

Documentation

main :: IO () Source #

>>> :main
2572
2631

countHouses Source #

Arguments

:: Int

workers

-> [Coord] 
-> Int