o
odinpkg.dev
packages / library / advent-of-code-2025

advent-of-code-2025

1bfae38library

Solutions for Advent of Code 2025 in Odin

No license · updated 7 months ago

Learning Odin through Advent of Code 2025

Required

You need to have an odin compiler installed to build this project. For instructions see odin getting started

Running

Inside the project directory run

> odin build .

This should cause an executable file called advent-of-code-2025 to appear in the project directory (yours might have a different name if you renamed the project directory)

Program picks which puzzle to run based on command line argument so running

> advent-of-code-2025 day_1

will print the solutions to both parts of the first day's puzzle. Similarly providing (day_2/day_3/etc.) as the argument will run puzzle from that day

Example output

> ./advent-of-code-2025 day_1
part 1: 1007
part 2: 5820