This commit is contained in:
Akshay Mankar 2023-12-01 11:22:59 +01:00
parent db4b866c76
commit 264846a521
Signed by: axeman
GPG key ID: CA08F3AB62369B89

26
README.org Normal file
View file

@ -0,0 +1,26 @@
#+TITLE: Advent of Code 2023
#+OPTIONS: toc:nil
All programs read input from ~stdin~ and print output to ~stdout~. The output will be printed in this format:
#+BEGIN_SRC
Part 1 Answer: <answer1>
Part 2 Answer: <answer2>
#+END_SRC
* Haskell
Run it like this:
#+BEGIN_SRC bash
cabal run aoc2023 -- day<n> < ./input/day<n>
#+END_SRC
* Bash
Run it like this:
#+BEGIN_SRC bash
./bash/main.sh day<n> < ./input/day<n>
#+END_SRC