aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJuan Marín Noguera <juan@mnpi.eu>2024-12-01 14:24:13 +0100
committerGitHub <noreply@github.com>2024-12-01 14:24:13 +0100
commitf4327e7fb94a6a7621941c3d447f7270d59db357 (patch)
tree623e60b2220150f8477fc02c8501a8c8036b865b /README.md
parentd0556e348140799c14bf249889e7fc2fd00e4416 (diff)
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/README.md b/README.md
index 2d4f308..dca9ccc 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,9 @@
-# advent-of-code
-Solutions for Advent of Code in 2024
+# Advent of code 2024
+
+These are my solutions for Advent of Code in 2024. This year I'm using Lua as the programming language. To launch the program for a given day, run
+
+```sh
+./main <<ID>> [<<FILE>>]
+```
+
+where `<<ID>>` is the day number followed by `a` for the first part or `b` for the second part, e.g. `01b`. If the file is not specified, it default to the number of the day with two digits and extension `.in`, i.e. `01.in`. One can use the name of a file that doesn't exist, e.g. `-`, to read from standard input.