-
Notifications
You must be signed in to change notification settings - Fork 0
/
sandbox.json
98 lines (98 loc) · 2.31 KB
/
sandbox.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"base": "https://dl-cdn.alpinelinux.org/alpine/v3.18/releases/x86_64/alpine-minirootfs-3.18.3-x86_64.tar.gz",
"run": [
"apk add diffutils"
],
"languages": {
"c": {
"install": [
"apk add gcc"
],
"filename": "solution.c",
"compile": [
"/usr/bin/gcc",
"-Wall",
"-std=c17",
"-O3",
"solution.c",
"-o",
"solution",
"-lm"
],
"run": [
"./solution"
]
},
"cpp": {
"install": [
"apk add g++"
],
"filename": "solution.cpp",
"compile": [
"/usr/bin/g++",
"-Wall",
"-std=c++17",
"-O3",
"solution.cpp",
"-o",
"solution",
"-lm"
],
"run": [
"./solution"
]
},
"python": {
"install": [
"apk add python3"
],
"filename": "solution.py",
"compile": [
"/usr/bin/python3",
"-m",
"py_compile",
"solution.py"
],
"run": [
"/usr/bin/python3",
"solution.py"
]
},
"java": {
"install": [
"apk add openjdk17-jdk"
],
"filename": "Main.java",
"compile": [
"/usr/bin/javac",
"Main.java"
],
"run": [
"/usr/bin/java",
"Main"
]
},
"cl": {
"install": [
"apk add sbcl"
],
"filename": "solution.lisp",
"run": [
"/usr/bin/sbcl",
"--script",
"solution.lisp"
]
},
"scheme": {
"install": [
"apk add chez-scheme"
],
"filename": "solution.ss",
"run": [
"chez",
"--program",
"solution.ss"
]
}
}
}