Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

My solutions for Advent of Code 2024 in Rust

Setup

Make sure you have Rust installed.

Run an example

To run an example, you can simply run:

cargo run -- <day> <task> -e <example_id>

The double-dash between run and the arguments is important. For example, if you want to run the first example for day 13 task 2, you would enter

cargo run -- 13 2 -e 1

Run a solution

To run a solution, you can simply leave out the -e <example_id>:

cargo run -- <day> <task>

The double-dash between run and the arguments is important. For example, if you want to run the solution for day 16 task 1, you would enter

cargo run -- 16 1

Future directions

  1. Adding unittests
  2. Adding timing information