Skip to content

MrRobb/advent-of-code-2025

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎄 Advent of Code 2025

license

Problem Solution Execution time Lines of code Finished
Day 1 Problem 1 day01.rs 21.391 µs + 2.7970 ms 60 ✓
Day 2 Problem 2 day02.rs 176.77 ms + 206.82 ms 42 ✓
Day 3 Problem 3 day03.rs 106.74 µs + 160.37 µs 45 ✓
Day 4 Problem 4 day04.rs 319.14 µs + 9.5692 ms 38 ✓
Day 5 Problem 5 day05.rs 57.490 µs + 47.808 µs 60 ✓
Day 6 Problem 6 day06.rs 107.38 µs + 115.66 µs 87 ✓
Day 7 Problem 7 day07.rs 110.86 µs + 80.175 µs 45 ✓

The benchmarks are measured (non-scientifically) with cargo-criterion on a AMD Ryzen 5 3600 Desktop. More in the benchmarks section. The lines of code are measured using ghloc, excluding comments and empty lines.

Install Rust

If you don't have Rust installed (how dare you) just run this:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

If you are not using a Unix-like OS, check the instructions here

Usage

Clone

git clone https://github.com/MrRobb/advent-of-code-2025.git
cd advent-of-code-2025

Build

cargo build --release

Run

Run all

cargo run --release

Run a specific day

cargo run --release --bin day01

Benchmarks

Install Criterion

To run the benchmarks you need to install cargo-criterion first:

cargo install cargo-criterion

Run benchmarks

Once you have Criterion installed, you can run the benchmarks with:

cargo criterion

About

🎄 Advent of Code 2025 - It's the Most Wonderful Time of the Year...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published