NCPC2022 Warmup with Code@LTH

COBOL

Compiler settings

We use cobc 3.1.2.0 to compile your program with the following command:

$ cobc -g -O2 -std=default -free -x -static -o {executable} {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: .cob, .cbl, .cpy

Additional information

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