RCP - Test Contest

Rust

Compiler settings

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

$ rustc -C opt-level=3 -C target-cpu=native --crate-type bin --edition 2021 {mainfile} -o {executable}

  • {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