Tutorial to Learn Kattis
Lua
Compiler settings
We use luac 5.4.6
to compile your program with the following command:
$ luac -o {executable} {mainfile}
{mainfile}
is the entrypoint file (you can specify which file this is when submitting).{executable}
is the compiled executable.
Runtime settings
We use lua 5.4.6
to run your program with the following command:
$ lua {executable}
{executable}
is the compiled executable.
File Extensions
Files with any of the following file extensions will be used: .lua
Additional information
Additional language-specific advice and information for many languages is available in the knowledge base