- Bash(bash)
/bin/bash foo.sh
- C(c)
/usr/bin/gcc -Wall --std=c99 -o foo foo.c -lm
- GNU C++(cc)
/usr/bin/g++ -Wall -Ofast -std=c++14 -o foo foo.cc -lm -fdiagnostics-color=always -DONLINE_JUDGE -I/include
- GNU C++ 98 Ofast(cc.std98)
/usr/bin/g++ -Wall -Ofast -std=c++98 -o foo foo.cc -lm -fdiagnostics-color=always -DONLINE_JUDGE -I/include
- GNU C++ 11 Ofast(cc.std11)
/usr/bin/g++ -Wall -Ofast -std=c++14 -o foo foo.cc -lm -fdiagnostics-color=always -DONLINE_JUDGE -I/include
- GNU C++ 14 Ofast(cc.std14)
/usr/bin/g++ -Wall -Ofast -std=c++14 -o foo foo.cc -lm -fdiagnostics-color=always -DONLINE_JUDGE -I/include
- GNU C++ 17 Ofast(cc.std17)
/usr/bin/g++ -Wall -Ofast -std=c++17 -o foo foo.cc -lm -fdiagnostics-color=always -DONLINE_JUDGE -I/include
- GNU C++ 20 Ofast(cc.std20)
/usr/bin/g++ -Wall -Ofast -std=c++20 -o foo foo.cc -lm -fdiagnostics-color=always -DONLINE_JUDGE -I/include
- GNU C++ 14 O2(cc.std14o2)
/usr/bin/g++ -Wall -O2 -std=c++14 -o foo foo.cc -lm -fdiagnostics-color=always -DONLINE_JUDGE -I/include
- GNU C++ 17 O2(cc.std17o2)
/usr/bin/g++ -Wall -O2 -std=c++17 -o foo foo.cc -lm -fdiagnostics-color=always -DONLINE_JUDGE -I/include
- GNU C++ 20 O2(cc.std20o2)
/usr/bin/g++ -Wall -O2 -std=c++20 -o foo foo.cc -lm -fdiagnostics-color=always -DONLINE_JUDGE -I/include
- Clang C++(cpp)
/usr/bin/clang++ -Wall -Ofast -std=c++17 -o foo foo.cpp -lm -fdiagnostics-color=always -DONLINE_JUDGE -I/include
- Clang C++ 14 Ofast(cpp.std14)
/usr/bin/clang++ -Wall -Ofast -std=c++14 -o foo foo.cpp -lm -fdiagnostics-color=always -DONLINE_JUDGE -I/include
- Clang C++ 17 Ofast(cpp.std17)
/usr/bin/clang++ -Wall -Ofast -std=c++17 -o foo foo.cpp -lm -fdiagnostics-color=always -DONLINE_JUDGE -I/include
- Clang C++ 20 Ofast(cpp.std20)
/usr/bin/clang++ -Wall -Ofast -std=c++20 -o foo foo.cpp -lm -fdiagnostics-color=always -DONLINE_JUDGE -I/include
- Clang C++ 14 O2(cpp.std14o2)
/usr/bin/clang++ -Wall -O2 -std=c++14 -o foo foo.cpp -lm -fdiagnostics-color=always -DONLINE_JUDGE -I/include
- Clang C++ 17 O2(cpp.std17o2)
/usr/bin/clang++ -Wall -O2 -std=c++17 -o foo foo.cpp -lm -fdiagnostics-color=always -DONLINE_JUDGE -I/include
- Clang C++ 20 O2(cpp.std20o2)
/usr/bin/clang++ -Wall -O2 -std=c++20 -o foo foo.cpp -lm -fdiagnostics-color=always -DONLINE_JUDGE -I/include
- Pascal(pas)
/usr/bin/fpc -O2 -o/w/foo foo.pas
- Java(java)
/usr/bin/bash -c "javac -d /w -encoding utf8 ./Main.java && jar cvf Main.jar *.class >/dev/null"
- Kotlin(kt)
echo "Invalid language selection"
- Kotlin/JVM(kt.jvm)
kotlinc -include-runtime -d foo.jar foo.kt
- Python(py)
/usr/bin/python -c "import py_compile; py_compile.compile('/w/foo.py', '/w/foo', doraise=True)"
- Python 2(py.py2)
/usr/bin/python -c "import py_compile; py_compile.compile('/w/foo.py', '/w/foo', doraise=True)"
- Python 3(py.py3)
/usr/bin/python3 -c "import py_compile; py_compile.compile('/w/foo.py', '/w/foo', doraise=True)"
- PyPy3(py.pypy3)
/bin/bash -c "/usr/bin/pypy3 -c \"import py_compile; py_compile.compile('/w/foo.py', '/w/foo', doraise=True)\" && mv foo.py foo"
- PHP(php)
/usr/bin/php foo.php
- Rust(rs)
/usr/bin/rustc -O -o /w/foo /w/foo.rs
- Haskell(hs)
/usr/bin/ghc -O -outputdir /tmp -o foo foo.hs
- NodeJS(js)
/usr/bin/node /w/foo.js
- Golang(go)
/usr/bin/go build -o foo foo.go
- Ruby(rb)
/usr/bin/ruby foo.rb
- C#(cs)
/usr/bin/mcs -optimize+ -out:/w/foo /w/foo.cs
- R(r)
/bin/sh -c "cat /dev/stdin >stdin && /usr/bin/Rscript --vanilla foo.r"