Skip to content

flip-rossi/aoc24

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8d3215d · Dec 24, 2024

History

62 Commits
Nov 27, 2024
Dec 23, 2024
Dec 24, 2024
Dec 11, 2024
Nov 30, 2024
Dec 8, 2024
Dec 23, 2024
Nov 27, 2024
Dec 8, 2024
Dec 15, 2024
Dec 5, 2024
Dec 24, 2024
Dec 10, 2024
Dec 24, 2024
Dec 8, 2024
Dec 15, 2024
Dec 20, 2024
Nov 27, 2024

Repository files navigation

Advent of Code '24 solutions

These are my solutions for the 2024 edition of the annual event Advent of Code.

  • The code for each solution is in src/main/, in either Java, Rust, C++, or OCaml.
  • Answers.md – The answers for each day and languages it was solved with.

Helper scripts

There are three helper scripts to prepare solutions, test, and submit answers:

  • setup_day.sh
    Creates a new source code file in src/main/ from one of the templates in templates/ and downloads the day's input to inputs/.
  • submit_answer.sh
    Submits the answer for the day and selected puzzle part. If no answer is passed as argument, reads from clipboard.
  • run.sh
    Compiles and runs the solution in any language for the specified day (or today, if none is specified).

They both need you to have a .env file in the root of the project with a line like this: SESSION_TOKEN=yoursessiontoken
You can get your session token by looking at your cookies when logged on in the AoC website.

Don't let anyone have access to your session token.

About

My solutions for Advent of Code 2024

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published