Lab Hands-on Tracker (not graded, not ranked, and TAs will guide everyone until near AC; only those who solve most... Lab exercises will be shown here)

Swift

Compiler settings

We use swiftc 5.8.1 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