advent-of-code/README.asciidoc

853 B
Raw Permalink Blame History

Advent of Code

My solutions to the Advent of Code challenges in Go.

How to run the solutions

  1. Download and install Go if you dont have it installed already.

  2. The provided bash script can be used to run the solution to an AoC challenge.

    $ ./solve --help
    USAGE:
      ./solve [options]
    
    SUMMARY:
      Run the solution for the specified Advent of Code challenge
    
    OPTIONS:
      -h, --help:
        print this help message
    
      -y, --year:
        specify the year
    
      -d, --day:
        specify the day of the advent calendar
  3. Run the script specifying the year and the day of the advent calendar to view the result of that days challenge.

    ./solve --year 2023 --day 1