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

Main

Description

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

Computes volumes and surface areas of boxes.

>>> :main + "2x3x4\n"
58
34
>>> :main + "1x1x10\n"
43
14
Synopsis

Documentation

data Package Source #

Constructors

Package Int Int Int 

data Face Source #

Constructors

Face Int Int 

main :: IO () Source #

>>> :main
1606483
3842356