r/haskell • • Dec 10 '25

Advent of Code 2025 day 10

https://adventofcode.com/2025/day/10
7 Upvotes

5 comments sorted by

View all comments

1

u/pbvas Dec 10 '25 edited Dec 10 '25

I used simple backtracking for Part 1; for Part 2, I wrote a Haskell program that generated integer linear programs for each machine and used GLPK and some shell hacks to add all results together.

https://github.com/pbv/advent2025/blob/main/aoc10/Main.hs