Compiler settings

We use rustc 1.77.2 to compile your program with the following command:

$ rustc -o{executable} -O --crate-type bin --edition=2021 {mainfile}

  • {mainfile} is the entrypoint file (you can specify which file this is when submitting).
  • {executable} is the compiled executable.

File Extensions

Files with any of the following file extensions will be used: .rs

Additional information

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