Skip to content

keelus/advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2025 🥛🍪

This repo contains my solutions for different years.

  • 2023 solutions in Golang here.
  • 2024 solutions in Rust here.
  • 2025 solutions in C here.

Days, stars and solutions

Benchmarks are run on an "AMD Ryzen 7 9800X3D @ 4.7/5.2GHz CPU".

Day Solution Stars Parse benchmark Part 1 benchmark Part 2 benchmark
Day 1: Secret Entrance Here ⭐⭐ 72µs 24µs 26µs
Day 2: Gift Shop Here ⭐⭐ 2µs 11ms 72ms
Day 3: Lobby Here ⭐⭐ 22µs 15µs 41µs
Day 4: Printing Department Here ⭐⭐ 12µs 118µs 883µs
Day 5: Cafeteria Here ⭐⭐ 95µs 39µs 45ns
Day 6: Trash Compactor Here ⭐⭐ 28µs 76µs 22µs

Run it yourself

Run a day

While being at the 2025 directory:

make build
./aoc --day=<N> [--sample] [--bench=<N>]

--day=<N>: Day to run (1-25).

--sample: Optional. If set, the input file will be the sample.txt located in the inputs folder.

--bench=<N>: Optional. If set, runs the puzzle N times and outputs only the average execution times.

Example output

Output screenshot

About

A repo with my solutions for the Advent of Code puzzles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published