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

Main

Description

https://adventofcode.com/2021/day/12

Search around a cave visiting some caves more than others.

This solution makes the observation that we can optimize away all the big caves. Big caves can never be connected to other big caves or we'd have infinite cycles, and we don't need to track anything about visiting a big cave.

Synopsis

Documentation

main :: IO () Source #

>>> :main
3761
99138