advent-of-code-2023/README.org

27 lines
430 B
Org Mode
Raw Normal View History

2023-12-01 10:22:59 +00:00
#+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