Skip to content

Solving Advent of Code 2021 in Haskell

Notifications You must be signed in to change notification settings

DrearyLisper/aoc-2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haskell CI

Solving AoC 2021 problems in Haskell

Logo

See https://adventofcode.com/2021 for problems.

Use :l DayXX.hs in ghci to load solution for particular day.

Day 01: Sonar Sweep

Full Description

*Day01> main
1393
1359
(0.09 secs, 24,340,640 bytes)

Day 02: Sonar Sweep

Full Description

*Day02> main
1882980
1971232560
(0.02 secs, 14,856,096 bytes)

Day 03: Binary Diagnostic

Full Description

*Day03> main 
4118544
3832770
(0.03 secs, 13,718,912 bytes)

Day 04: Giant Squid

Full Description

*Day04> main
33462
30070
(0.15 secs, 115,806,776 bytes)

Day 05: Hydrothermal Venture

Full Description

*Day05> main
7468
22364
(0.73 secs, 581,462,992 bytes)

Day 06: Lanternfish

Full Description

*Day06> main
343441
1569108373832
(0.02 secs, 5,165,872 bytes)

Day 07: The Treachery of Whales

Full Description

*Day07> main
333755
94017638
(1.41 secs, 1,792,182,920 bytes)

Day 08: Seven Segment Search

Full Description

*Day08> main
294
Just 973292
(0.05 secs, 26,149,632 bytes)

Day 09: Smoke Basin

Full Description

*Day09> main
502
1330560
(0.94 secs, 1,179,047,576 bytes)

Day 10: Smoke Basin

Full Description

*Day10> main
193275
2429644557
(0.04 secs, 14,551,416 bytes)

Day 11: Dumbo Octopus

Full Description

*Day11> main 
1705
265
(0.31 secs, 336,583,888 bytes)

Day 12: Passage Pathing

Full Description

*Day12> main
4241
122134
(17.48 secs, 15,744,407,480 bytes)

Day 13: Passage Pathing

Full Description

*Day13> main 
695
".**....**.****..**..*....*..*.***....**"
"*..*....*....*.*..*.*....*..*.*..*....*"
"*.......*...*..*....*....*..*.*..*....*"
"*.**....*..*...*.**.*....*..*.***.....*"
"*..*.*..*.*....*..*.*....*..*.*....*..*"
".***..**..****..***.****..**..*.....**."
(0.04 secs, 24,602,352 bytes)

Day 14: Extended Polymerization

Full Description

*Day14> main 
3406
3941782230241
(0.06 secs, 39,255,416 bytes)

Day 15: Chiton

Full Description

*Day15> main 
472
2851
(4.61 secs, 4,572,872,264 bytes)

Day 16: Packet Decoder

Full Description

*Day16> main
854
186189840660
(0.03 secs, 30,075,856 bytes)

Day 17: Trick Shot

Full Description

*Day17> main
4560
3344
(4.17 secs, 3,979,006,864 bytes)

Day 18: Trick Shot

Full Description

*Day18> main 
3691
4756
(3.02 secs, 3,557,743,832 bytes)

Day 19: Beacon Scanner

Full Description

*Day19> main
308
12124
(TBD, TBD)

Day 20: Trench Map

Full Description

*Day20> main
5359
12333
(23.66 secs, 15,742,436,472 bytes)

Day 21: Trench Map

Full Description

*Day21> main 
918081
158631174219251
(145.36 secs, 133,995,506,696 bytes)

Day 22: Reactor Reboot

Full Description

*Day22> main 
524792
1213461324555691
(3.07 secs, 4,548,786,096 bytes)

Day 23: Amphipod

Full Description

*Day23> main 
15358
51436
(TBD, TBD)

Day 24: Arithmetic Logic Unit

Full Description

*Day24> main 
99291593199892
73181221197111
(0.01 secs, 855,960 bytes)

Day 25: Sea Cucumber

Full Description

*Day25> main 
523
"Merry Christmas and Happy New Year!"
(36.81 secs, 26,040,310,880 bytes)

Releases

No releases published

Packages

No packages published