My solutions to 2018's advent of code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

entrypoint.sh 166B

12345678910
  1. #!/bin/bash
  2. cd /code
  3. if [ -f "day$1.nim" ]; then
  4. HOME=/tmp nim c --opt:speed -d:release day$1.nim >/dev/null 2>&1
  5. time ./day$1
  6. else
  7. time pypy "$1.py"
  8. fi