Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 3.04 KB

File metadata and controls

30 lines (19 loc) · 3.04 KB

My solutions for Advent of Code 2025

I decided to learn Haskell with this year's AoC. Expect most solutions to be in Haskell. If I am very tight on time, I might resort to Python, but I try to avoid it.

Solutions

Day 01 02 03 04 05 06 07 08 09 10 11 12
Task 01 haskell haskell haskell haskell haskell haskell haskellferris1 haskell haskell haskell haskell haskell
Task 02 haskell haskell haskell haskell haskell haskell haskellferris1 haskell haskell haskell2 haskell

The Haskell icon has been released into the public domain and can be found here.

The python icon is licensed under the GPL and can be found here.

The ferris icon is licensed under CC0 and can be found here.

Structure

  • examples contains the examples as separate files. The file names follow the format day{day:02d}_{counter:02d}.txt
  • inputs the same for the inputs, but without the counter, i.e., day{day:02d}.txt.
  • The other directories are named after a programming language and contain the solutions to AoC in that programming language. This year, there is a Haskell and (potentially) a python directory. The READMEs in each directory tell you how to run the solutions.

Footnotes

  1. I pair-coded the Rust solution together with @fspoettel. 2

  2. Using Haskell bindings for the CBC (Con-or branch and cut) mixed integer linear programming solver. Thanks to this (in my opinion) super elegant approach, I was able to solve the task without a MIP solver.