The 2020 Nordic Collegiate Programming Contest


Compiler settings

We use swiftc Swift version 5.8.1 (swift-5.8.1-RELEASE) to compile your program with the following command:

$ swiftc -o {executable} -static-stdlib -module-cache-path .cache -O {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: .swift

Additional information

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