Rust

Compiler settings

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

$ rustc -o{executable} -O --crate-type bin --edition=2018 {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