feat: solve day 7
We parse the grid and then step through a simulation of the tachyon beam's spread and count the number of splitters that the beam actually hit.
This commit is contained in:
parent
7b7dd2660b
commit
d8824fd6bd
3 changed files with 315 additions and 0 deletions
|
|
@ -75,3 +75,10 @@ executable aoc25
|
|||
|
||||
-- Base language which the package is written in.
|
||||
default-language: GHC2021
|
||||
|
||||
executable day7
|
||||
import: warnings
|
||||
main-is: Day7.hs
|
||||
build-depends: base ^>=4.20.2,
|
||||
containers >= 0.6.7
|
||||
hs-source-dirs: app
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue