Skip to content

benjaminweb/aoc19-hs

Repository files navigation

Advent of Code 2019 Solutions in Haskell

  • Day 1.1: calculate total fuel required for all modules of space craft based on mass
  • Day 1.2: extend Day 1.1 to include fuel for fuel (and so on)
  • Day 2.1: create Intcode program
  • Day 2.2: find pair producing output of 19690720
  • Day 3.1: fix fuel management system: determine Manhattan distance from central port to closest intersection
  • Day 3.2: minimize signal delay: fewest combined steps wires take to intersection
  • Day 4.1: determine no. of passwords in range 248345-746315 meeting given criteria to total of 1019
  • Day 4.2: as previous, with additional predicate, resulting 660 passwords
  • Day 5.1: implement parser of diagnostic program of Thermal Environment Supervision Terminal (TEST) to result all outputs to 0 and diagnostic code to 9025675
  • Day 5.2: extend TEST to thermal radiators, op codes 5, 6, 7, 8 and to return program the only output of diagnostic code 11981754
  • Day 6.1: determine orbit count checksum that is total no. of direct orbits and indirect orbits of 234446
  • Day 6.2: determine minimum no. of orbital transfers for "SAN" and "YOU" to meet to 385
  • Day 7.1: implement amplifiers, determine highest signal that can be sent to the thrusters to 87138
  • Day 7.2: implement feedback loop for amplifiers
  • Day 8.1: determine image checksum to 2760
  • Day 8.2: determine image message to "AGUEB"

Releases

No releases published

Packages

No packages published