Skip to content

GCrispino/aoc2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aoc2024

Advent of code 2024 solutions

Build

Run cargo build --profile=release in the repository's root, then run cp target/release/aoc-2024 . to copy the resulting binary to the root.

Running

General instructions:

$ ./aoc-2024 --help
Usage: aoc-2024 [COMMAND]

Commands:
  run   Adds favorite command
  help  Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

For running added solutions, use the run command:

$ ./aoc-2024 run --help
Adds favorite command

Usage: aoc-2024 run --challenge-id <CHALLENGE_ID>

Options:
  -c, --challenge-id <CHALLENGE_ID>
  -h, --help                         Print help

For example, to run the solution of the second challenge of Day 2 (challenge ID 2b), run the following command:

$ ./aoc-2024 run -c 2b
343

Solutions are expected to print the solution answer at the end of its execution.

About

Advent of code 2024 solutions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published