-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kattis-cli.toml
35 lines (28 loc) · 898 Bytes
/
.kattis-cli.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# This is the default configuration file for the Kattis CLI.
# Use TOML format https://toml.io/en/
# Just copy the default section and modify the values according the language
title = "Kattis-cli language configuration file for local testing."
[default]
compile = "" # no compile command for this language
execute = "python3 {mainfile}" # the command to run the program
mainfile = "{problemid}.py" # the name of the main file or file with mainclass
[python3]
compile = ""
execute = "python3 {mainfile}"
mainfile = "{problemid}.py"
[cpp]
compile = "g++ -g -O2 -std=c++17 -Wall"
execute = "./a.out"
mainfile = "{problemid}.cpp"
[c]
compile = "gcc -g -O2 -std=gnu11 -Wall"
execute = "./a.out"
mainfile = "{problemid}.c"
[nodejs]
compile = "node -c"
execute = "node {mainfile}"
mainfile = "{problemid}.js"
[java]
compile = "javac -d ."
execute = "java -cp . {mainfile}"
mainfile = "{problemid}"