Calgary Collegiate Programming Contest 2019 — Open Division

Common Lisp

Compiler settings

We use sbcl 2.2.9.debian to compile your program with the following command:

$ sbcl --noinform --noprint --non-interactive --eval "(require :asdf)" --eval "(if (equal (compile-file \"{file}\") NIL) (sb-ext:exit :code 1) ())"

  • {file} is each file (the command is run once per file).

Runtime settings

We use sbcl 2.2.9.debian to run your program with the following command:

$ sbcl --control-stack-size 64 --noinform --non-interactive --load '{mainfile}'

  • {mainfile} is the entrypoint file (you can specify which file this is when submitting).

File Extensions

Files with any of the following file extensions will be used: .lisp, .cl

Additional information

Additional language-specific advice and information for many languages is available in the knowledge base