2017 North American Practice Contest 02
TypeScript
Compiler settings
We use tsc 5.7.2
to compile your program with the following command:
$ tsc --module commonjs {files}
{files}
is a space-separated list of all files.
Runtime settings
We use node v18.13.0
to run your program with the following command:
$ node '{mainfile}'.js
{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: .ts
Additional information
Additional language-specific advice and information for many languages is available in the knowledge base