-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
70 lines (69 loc) · 1.37 KB
/
config.json
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"langs": {
"c": {
"compile": {
"cmd": "gcc",
"opts": ["-std=c11", "-Wall", "-Wextra", "-O3", "-lm", "-o", "a.o", "$SOURCEFILE"]
},
"run": {
"cmd": "$OUTFILE"
},
"out": "a.o",
"test": "sample.c"
},
"c++17": {
"compile": {
"cmd": "g++",
"opts": ["-std=c++17", "-Wall", "-Wextra", "-O3", "-o", "a.o", "$SOURCEFILE"]
},
"run": {
"cmd": "$OUTFILE"
},
"out": "a.o"
},
"java": {
"compile": {
"cmd": "javac",
"opts": ["$SOURCEFILE"]
},
"run": {
"cmd": "java",
"opts": ["-classpath", "$ROOTPATH", "$NAME"]
},
"out": "$NAME.class",
"test": "Sample.java"
},
"python3": {
"run": {
"cmd": "python3",
"opts": ["-S", "$OUTFILE"]
},
"test": "sample3.py"
},
"python2": {
"run": {
"cmd": "python2",
"opts": ["-S", "$OUTFILE"]
},
"test": "sample2.py"
}
},
"inExt": ".in",
"outExt": ".out",
"testsDir": "uploads/tests",
"graderDir": "graders",
"graders": ["default", "strict"],
"defaultTestsuite": "global",
"isolate": {
"compileDefaults": {
"time": 10,
"wallTime": 10,
"mem": 100000
},
"executeDefaults": {
"time": 4,
"wallTime": 40,
"mem": 100000
}
}
}