Skip to content

danielrouco/Advent-of-Code-2025

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎄🎅 Advent of Code 2025 🎅🎄

My OCaml 🐫 solutions for some Advent of Code 2025 puzzles.

How to run

  1. Clone the repository
git clone https://github.com/danielrouco/Advent-of-Code-2025.git

In each folder there are these files:

dayN
├── example.txt
├── input.txt
├── part1.ml
└── part2.ml
  1. Compile part X of day N:
cd dayN
ocamlopt partX.ml -o partX
  1. Run the executable
./partX

Note

By default the program gives the solution for the input.txt file. If you want to change that, only change the first line of the .ml file:

By default:

let file = open_in "input.txt"

If you want to execute it with example.txt instead:

let file = open_in "example.txt"

About

My OCaml 🐫 solutions for some Advent of Code 2025 puzzles

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages