Code@LTH NCPC Warmup
Ruby
Compiler settings
We use ruby 3.2.2
to compile your program with the following command:
$ ruby -c {file}
{file}
is each file (the command is run once per file).
Runtime settings
We use ruby 3.2.2 +YJIT
to run your program with the following command:
$ ruby --yjit '{mainfile}'
{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: .rb
Additional information
Additional language-specific advice and information for many languages is available in the knowledge base