Files
adventofcode/2025
2025-12-01 22:51:00 +01:00
..
2025-12-01 22:51:00 +01:00
2025-11-30 23:55:36 +01:00
2025-11-30 23:55:36 +01:00
2025-11-30 23:55:36 +01:00

Advent of Code 2025 - Rust

Daily Workflow

To add a new day's solution (e.g., Day 2):

  1. Create the Source File:

    • Copy src/days/day01.rs to src/days/day02.rs.
    • Update the logic in part1 and part2.
  2. Register the Module:

    • Open src/days/mod.rs.
    • Add pub mod day02; at the top.
    • Add a match arm for the new day:
      2 => day02::run(),
      
  3. Add Input:

    • Create a new file inputs/day02.txt.
    • Paste your puzzle input into it.
  4. Run:

    • Execute the solution with:
      cargo run 2