C++11 |
gcc8.2.0 |
/usr/local/bin/g++8.2 -O2 -std=c++11 -o ./a.out ./Main.cpp |
./a.out |
C++14 |
gcc8.2.0 |
/usr/local/bin/g++8.2 -O2 -std=c++14 -o ./a.out ./Main.cpp |
./a.out |
C++17 |
gcc8.2.0 |
/usr/local/bin/g++8.2 -O2 -std=c++1z -o ./a.out ./Main.cpp |
./a.out |
C++ |
gcc8.2.0 |
/usr/local/bin/g++8.2 -O2 -std=c++03 -o ./a.out ./Main.cpp |
./a.out |
C |
gcc8.2.0 |
/usr/local/bin/gcc8.2 -O2 -std=gnu11 -o ./a.out ./Main.c -lm |
./a.out |
C(gnu99) |
gcc4.4.7 |
gcc -O2 -g -std=gnu99 -o ./a.out ./Main.c -lm |
./a.out |
Java |
JDK10.0.2 |
javac -encoding UTF8 -d . ./Main.java |
java -ea -Xverify:none -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xmx{memorylimit}m Main |
C# |
Mono 4.0.4 |
dmcs -warn:0 /r:System.Numerics.dll /codepage:utf8 ./Main.cs -out:a.exe |
mono ./a.exe |
Python2 |
Python 2.6.6 |
python -m py_compile ./Main.py |
python ./Main.py |
Python3 |
Python 3.6.8 |
python3 -mpy_compile ./Main.py |
python3 ./Main.py |
Ruby |
ruby 2.2.3p173 |
ruby --disable-gems -w -c ./Main.rb |
ruby --disable-gems ./Main.rb |
Bash |
Bash 5.0.0 |
cat ./Main.sh | tr -d '\r' >./a.out |
bash ./a.out |
Perl |
5.10.1 |
perl -cw ./Main.pl |
perl -X ./Main.pl |
PHP |
PHP 5.6.8 |
php -l ./Main.php |
php ./Main.php |
Text(cat) |
|
cat ./Main.php | tr -d '\r' > ./a.out |
cat ./a.out |
Haskell |
GHC 7.0.4 |
ghc -o ./a.out -O2 ./Main.hs |
./a.out |
Awk |
GNU Awk 3.1.7 |
cat ./Main.awk | tr -d '\r' > ./a.out |
awk -f ./a.out |
Sed |
GNU sed 4.2.1 |
cat ./Main.sed | tr -d '\r' > ./a.out |
sed -f ./a.out |