2021 Mid-Atlantic USA Regional Contest — Practice

Prolog

Compiler settings

We use swipl 9.0.4 to compile your program with the following command:

$ swipl -O -q -g main -t halt -o {executable} -c {files}

  • {files} is a space-separated list of all files.
  • {executable} is the compiled executable.

File Extensions

Files with any of the following file extensions will be used: .pl

Additional information

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