Skip to main content

Supported Languages

Language
C++
Java
Python
Rust Lang
Go Lang
GNU C
Kotlin

Compilation and Execution Commands

LanguageCompile / InterpreterExecution Command
C++17g++ -std=c++17 -Wall -DONLINE_JUDGE=1 -o .qt/main main.cpp./.qt/main
Javajavac -d .qt/ Main.javajava -cp .qt/ Main
Python3python3 main.py
Rust Langcp main.rs ~/.quicktest/rust/src/main.rs && cargo build --release --quiet --manifest-path ~/.quicktest/rust/Cargo.toml && cp ~/.quicktest/rust/target/release/rust .qt/main./.qt/main
Go Langcp main.go ~/.quicktest/go_mod/main.go && go build -buildmode=exe -o ./.qt/main ~/.quicktest/go_mod/main.go./.qt/main
GNU Cgcc -std=gnu11 -lm main.c -o .qt/main./.qt/main
Kotlinkotlinc main.kt -include-runtime -d .qt/main.jarjava -jar .qt/main.jar

Configurations File

Rust Lang

Path: ~/.quicktest/rust/Cargo.toml

[package]
name = "rust"
version = "0.1.0"
edition = "2021"
[dependencies]
proconio = "0.4.3"
num = "0.4.0"
rand = { version = "0.8.5", features = ["small_rng"]}
regex = "1.5.5"
num-bigint = "0.4.3"