Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
70 lines (70 sloc) 1.82 KB
[[langs]]
id = "checker"
source = "checker.cpp"
compile = "g++ -O2 -std=c++14 -DEVAL -march=native -o checker checker.cpp"
[[langs]]
id = "cpp"
name = "C++17"
version = "g++(ubuntu18.04 apt)"
source = "main.cpp"
compile = "g++ -O2 -std=c++17 -DEVAL -march=native -o main main.cpp"
exec = "./main"
[[langs]]
id = "cpp14"
name = "C++14"
version = "g++(ubuntu18.04 apt)"
source = "main.cpp"
compile = "g++ -O2 -std=c++14 -march=native -o main main.cpp"
exec = "./main"
[[langs]]
id = "rust"
name = "Rust"
version = "rustc(ubuntu18.04 apt)"
source = "main.rs"
compile = "rustc -O main.rs"
exec = "./main"
[[langs]]
id = "d"
name = "LDC2"
version = "LDC2 1.15.0"
source = "main.d"
compile = "ldc2 -O -release main.d"
exec = "./main"
[[langs]]
id = "java"
name = "Java"
version = "default-jdk(ubuntu18.04 apt)"
source = "Main.java"
compile = "javac Main.java"
exec = "java -Xss1G Main"
[[langs]]
id = "python3"
name = "Python3"
version = "python3.7 + numpy + scipy (ubuntu18.04 apt)"
source = "main.py"
compile = "echo | python3.7 -c 'import main.py' || :"
exec = "python3.7 main.py"
[[langs]]
id = "pypy3"
name = "PyPy3"
version = "pypy3.6-v7.1.1"
source = "main.py"
compile = "pypy3 -c 'print(1)'"
exec = "pypy3 main.py"
[[langs]]
id = "haskell"
name = "GHC"
version = "ghc(ubuntu18.04 apt)"
source = "main.hs"
compile = "ghc -O2 main.hs"
exec = "./main"
[[langs]]
id = "csharp"
name = "C#"
version = "C# 8.0(dotnet)"
source = "main.cs"
compile = """
cp -r /opt/C-Sharp C-Sharp &&
cp main.cs C-Sharp/Program.cs &&
dotnet publish C-Sharp -c Release -r ubuntu.18.04-x64 /p:PublishReadyToRun=true -o bin"""
exec = "./bin/C-Sharp"
You can’t perform that action at this time.