Spaces:
Sleeping
Sleeping
add fixed dockerfile and start
Browse files- .ipynb_checkpoints/Dockerfile-checkpoint +3 -1
- Dockerfile +3 -1
- execution_engine/.ipynb_checkpoints/config-checkpoint.yaml +491 -0
- execution_engine/.ipynb_checkpoints/limits_by_lang-checkpoint.yaml +183 -0
- execution_engine/.ipynb_checkpoints/worker_cfg_db-checkpoint.csv +0 -0
- execution_engine/worker_cfg_db.csv +0 -0
.ipynb_checkpoints/Dockerfile-checkpoint
CHANGED
@@ -9,7 +9,9 @@ RUN apt-get update && \
|
|
9 |
gnupg ca-certificates apt-utils \
|
10 |
build-essential curl unzip && \
|
11 |
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
|
|
|
12 |
RUN echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | tee /etc/apt/sources.list.d/mono-official-stable.list
|
|
|
13 |
RUN apt-get update && \
|
14 |
apt-get install -y tzdata
|
15 |
|
@@ -109,7 +111,7 @@ RUN groupadd -g ${RUN_GID2} runner${RUN_GID2} && useradd -M runner${RUN_UID2} -g
|
|
109 |
EXPOSE 7860
|
110 |
RUN useradd -m -u 1000 user
|
111 |
|
112 |
-
ENV WORKER_CFG_DB
|
113 |
|
114 |
RUN mkdir -p /home/user/execution_engine
|
115 |
COPY --chown=user ./execution_engine /home/user/execution_engine
|
|
|
9 |
gnupg ca-certificates apt-utils \
|
10 |
build-essential curl unzip && \
|
11 |
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
|
12 |
+
|
13 |
RUN echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | tee /etc/apt/sources.list.d/mono-official-stable.list
|
14 |
+
|
15 |
RUN apt-get update && \
|
16 |
apt-get install -y tzdata
|
17 |
|
|
|
111 |
EXPOSE 7860
|
112 |
RUN useradd -m -u 1000 user
|
113 |
|
114 |
+
ENV WORKER_CFG_DB ./worker_cfg_db.csv
|
115 |
|
116 |
RUN mkdir -p /home/user/execution_engine
|
117 |
COPY --chown=user ./execution_engine /home/user/execution_engine
|
Dockerfile
CHANGED
@@ -9,7 +9,9 @@ RUN apt-get update && \
|
|
9 |
gnupg ca-certificates apt-utils \
|
10 |
build-essential curl unzip && \
|
11 |
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
|
|
|
12 |
RUN echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | tee /etc/apt/sources.list.d/mono-official-stable.list
|
|
|
13 |
RUN apt-get update && \
|
14 |
apt-get install -y tzdata
|
15 |
|
@@ -109,7 +111,7 @@ RUN groupadd -g ${RUN_GID2} runner${RUN_GID2} && useradd -M runner${RUN_UID2} -g
|
|
109 |
EXPOSE 7860
|
110 |
RUN useradd -m -u 1000 user
|
111 |
|
112 |
-
ENV WORKER_CFG_DB
|
113 |
|
114 |
RUN mkdir -p /home/user/execution_engine
|
115 |
COPY --chown=user ./execution_engine /home/user/execution_engine
|
|
|
9 |
gnupg ca-certificates apt-utils \
|
10 |
build-essential curl unzip && \
|
11 |
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
|
12 |
+
|
13 |
RUN echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | tee /etc/apt/sources.list.d/mono-official-stable.list
|
14 |
+
|
15 |
RUN apt-get update && \
|
16 |
apt-get install -y tzdata
|
17 |
|
|
|
111 |
EXPOSE 7860
|
112 |
RUN useradd -m -u 1000 user
|
113 |
|
114 |
+
ENV WORKER_CFG_DB ./worker_cfg_db.csv
|
115 |
|
116 |
RUN mkdir -p /home/user/execution_engine
|
117 |
COPY --chown=user ./execution_engine /home/user/execution_engine
|
execution_engine/.ipynb_checkpoints/config-checkpoint.yaml
ADDED
@@ -0,0 +1,491 @@
|
|
|
|
|
|
|
|
|
|
|
|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-optimize-sibling-calls -w -fno-strict-aliasing -DONLINE_JUDGE -include limits.h -fno-asm -s -O2 -DONLINE_JUDGE -include math.h -static -lm
|
7 |
+
sanitize_fn_name: sanitize_c_cpp
|
8 |
+
compile_fn_name: generic_c_cpp_compile
|
9 |
+
execute_fn_name: generic_binary_execute
|
10 |
+
file_name_fn_or_str_name: test.c
|
11 |
+
|
12 |
+
GNU C11:
|
13 |
+
compile_cmd: gcc
|
14 |
+
compile_flags: -std=c11 -fno-optimize-sibling-calls -w -fno-strict-aliasing -DONLINE_JUDGE -include limits.h -fno-asm -s -O2 -DONLINE_JUDGE -include math.h -static -lm
|
15 |
+
sanitize_fn_name: sanitize_c_cpp
|
16 |
+
compile_fn_name: generic_c_cpp_compile
|
17 |
+
execute_fn_name: generic_binary_execute
|
18 |
+
file_name_fn_or_str_name: test.c
|
19 |
+
|
20 |
+
GNU C++:
|
21 |
+
compile_cmd: g++
|
22 |
+
compile_flags: -s -x c++ -O2 -w -DONLINE_JUDGE -include math.h -include limits.h -static -lm
|
23 |
+
sanitize_fn_name: sanitize_c_cpp
|
24 |
+
compile_fn_name: generic_c_cpp_compile
|
25 |
+
execute_fn_name: generic_binary_execute
|
26 |
+
file_name_fn_or_str_name: test.cpp
|
27 |
+
|
28 |
+
GNU C++0x:
|
29 |
+
compile_cmd: g++
|
30 |
+
compile_flags: -std=c++0x -s -x c++ -O2 -w -DONLINE_JUDGE -include math.h -include limits.h -static -lm
|
31 |
+
sanitize_fn_name: sanitize_c_cpp
|
32 |
+
compile_fn_name: generic_c_cpp_compile
|
33 |
+
execute_fn_name: generic_binary_execute
|
34 |
+
file_name_fn_or_str_name: test.cpp
|
35 |
+
|
36 |
+
GNU C++11:
|
37 |
+
compile_cmd: g++
|
38 |
+
compile_flags: -std=c++11 -s -x c++ -O2 -w -DONLINE_JUDGE -include math.h -include limits.h -static -lm
|
39 |
+
sanitize_fn_name: sanitize_c_cpp
|
40 |
+
compile_fn_name: generic_c_cpp_compile
|
41 |
+
execute_fn_name: generic_binary_execute
|
42 |
+
file_name_fn_or_str_name: test.cpp
|
43 |
+
|
44 |
+
GNU C++14:
|
45 |
+
compile_cmd: g++
|
46 |
+
compile_flags: -std=c++14 -s -x c++ -O2 -w -DONLINE_JUDGE -include math.h -include limits.h -static -lm
|
47 |
+
sanitize_fn_name: sanitize_c_cpp
|
48 |
+
compile_fn_name: generic_c_cpp_compile
|
49 |
+
execute_fn_name: generic_binary_execute
|
50 |
+
file_name_fn_or_str_name: test.cpp
|
51 |
+
|
52 |
+
GNU C++17:
|
53 |
+
compile_cmd: g++
|
54 |
+
compile_flags: -std=c++17 -s -x c++ -O2 -w -DONLINE_JUDGE -include limits.h -include math.h -static -lm
|
55 |
+
sanitize_fn_name: sanitize_c_cpp
|
56 |
+
compile_fn_name: generic_c_cpp_compile
|
57 |
+
execute_fn_name: generic_binary_execute
|
58 |
+
file_name_fn_or_str_name: test.cpp
|
59 |
+
|
60 |
+
GNU C++17 (64):
|
61 |
+
compile_cmd: g++
|
62 |
+
compile_flags: -std=c++17 -s -x c++ -O2 -w -DONLINE_JUDGE -include limits.h -include math.h -static -lm
|
63 |
+
sanitize_fn_name: sanitize_c_cpp
|
64 |
+
compile_fn_name: generic_c_cpp_compile
|
65 |
+
execute_fn_name: generic_binary_execute
|
66 |
+
file_name_fn_or_str_name: test.cpp
|
67 |
+
|
68 |
+
GNU C++20 (64):
|
69 |
+
compile_cmd: g++
|
70 |
+
compile_flags: -std=c++20 -s -x c++ -O2 -w -DONLINE_JUDGE -include limits.h -include math.h -static -lm
|
71 |
+
sanitize_fn_name: sanitize_c_cpp
|
72 |
+
compile_fn_name: generic_c_cpp_compile
|
73 |
+
execute_fn_name: generic_binary_execute
|
74 |
+
file_name_fn_or_str_name: test.cpp
|
75 |
+
|
76 |
+
GNU C++20:
|
77 |
+
compile_cmd: g++
|
78 |
+
compile_flags: -std=c++20 -s -x c++ -O2 -w -DONLINE_JUDGE -include limits.h -include math.h -static -lm
|
79 |
+
sanitize_fn_name: sanitize_c_cpp
|
80 |
+
compile_fn_name: generic_c_cpp_compile
|
81 |
+
execute_fn_name: generic_binary_execute
|
82 |
+
file_name_fn_or_str_name: test.cpp
|
83 |
+
|
84 |
+
GNU C++17 Diagnostics:
|
85 |
+
compile_cmd: g++
|
86 |
+
compile_flags: -std=c++17 -s -x c++ -O2 -w -DONLINE_JUDGE -pedantic -include limits.h -include math.h -static -lm
|
87 |
+
sanitize_fn_name: sanitize_c_cpp
|
88 |
+
compile_fn_name: generic_c_cpp_compile
|
89 |
+
execute_fn_name: generic_binary_execute
|
90 |
+
file_name_fn_or_str_name: test.cpp
|
91 |
+
|
92 |
+
Clang++17 Diagnostics:
|
93 |
+
compile_cmd: clang++-14
|
94 |
+
compile_flags: -std=c++17 -s -x c++ -O2 -w -pedantic -DONLINE_JUDGE -include limits.h -include math.h -static -lm
|
95 |
+
sanitize_fn_name: sanitize_c_cpp
|
96 |
+
compile_fn_name: generic_c_cpp_compile
|
97 |
+
execute_fn_name: generic_binary_execute
|
98 |
+
file_name_fn_or_str_name: test.cpp
|
99 |
+
|
100 |
+
Clang++17:
|
101 |
+
compile_cmd: clang++-14
|
102 |
+
compile_flags: -std=c++17 -s -x c++ -O2 -w -DONLINE_JUDGE -include limits.h -include math.h -static -lm
|
103 |
+
sanitize_fn_name: sanitize_c_cpp
|
104 |
+
compile_fn_name: generic_c_cpp_compile
|
105 |
+
execute_fn_name: generic_binary_execute
|
106 |
+
file_name_fn_or_str_name: test.cpp
|
107 |
+
|
108 |
+
Clang++20 Diagnostics:
|
109 |
+
compile_cmd: clang++-14
|
110 |
+
compile_flags: -std=c++20 -s -x c++ -O2 -w -pedantic -DONLINE_JUDGE -include limits.h -include math.h -static -lm
|
111 |
+
sanitize_fn_name: sanitize_c_cpp
|
112 |
+
compile_fn_name: generic_c_cpp_compile
|
113 |
+
execute_fn_name: generic_binary_execute
|
114 |
+
file_name_fn_or_str_name: test.cpp
|
115 |
+
|
116 |
+
Clang++20:
|
117 |
+
compile_cmd: clang++-14
|
118 |
+
compile_flags: -std=c++20 -s -x c++ -O2 -w -DONLINE_JUDGE -include limits.h -include math.h -static -lm
|
119 |
+
sanitize_fn_name: sanitize_c_cpp
|
120 |
+
compile_fn_name: generic_c_cpp_compile
|
121 |
+
execute_fn_name: generic_binary_execute
|
122 |
+
file_name_fn_or_str_name: test.cpp
|
123 |
+
|
124 |
+
Clang++14:
|
125 |
+
compile_cmd: clang++-14
|
126 |
+
compile_flags: -std=c++14 -s -x c++ -O2 -w -DONLINE_JUDGE -include limits.h -include math.h -static -lm
|
127 |
+
sanitize_fn_name: sanitize_c_cpp
|
128 |
+
compile_fn_name: generic_c_cpp_compile
|
129 |
+
execute_fn_name: generic_binary_execute
|
130 |
+
file_name_fn_or_str_name: test.cpp
|
131 |
+
|
132 |
+
Clang++11:
|
133 |
+
compile_cmd: clang++-14
|
134 |
+
compile_flags: -std=c++11 -s -x c++ -O2 -w -DONLINE_JUDGE -include limits.h -include math.h -static -lm
|
135 |
+
sanitize_fn_name: sanitize_c_cpp
|
136 |
+
compile_fn_name: generic_c_cpp_compile
|
137 |
+
execute_fn_name: generic_binary_execute
|
138 |
+
file_name_fn_or_str_name: test.cpp
|
139 |
+
|
140 |
+
MS C++:
|
141 |
+
compile_cmd: g++
|
142 |
+
compile_flags: -s -x c++ -O2 -w -DONLINE_JUDGE -include math.h -include limits.h -static -lm
|
143 |
+
sanitize_fn_name: sanitize_c_cpp
|
144 |
+
compile_fn_name: generic_c_cpp_compile
|
145 |
+
execute_fn_name: generic_binary_execute
|
146 |
+
file_name_fn_or_str_name: test.cpp
|
147 |
+
|
148 |
+
MS C++ 2017:
|
149 |
+
compile_cmd: g++
|
150 |
+
compile_flags: -s -x c++ -O2 -w -DONLINE_JUDGE -include math.h -include limits.h -static -lm
|
151 |
+
sanitize_fn_name: sanitize_c_cpp
|
152 |
+
compile_fn_name: generic_c_cpp_compile
|
153 |
+
execute_fn_name: generic_binary_execute
|
154 |
+
file_name_fn_or_str_name: test.cpp
|
155 |
+
|
156 |
+
MS C#:
|
157 |
+
compile_cmd: csc
|
158 |
+
compile_flags: -o -nologo
|
159 |
+
execute_cmd: mono
|
160 |
+
compile_fn_name: generic_cs_compile
|
161 |
+
execute_fn_name: generic_interpreted_execute
|
162 |
+
file_name_fn_or_str_name: test.cs
|
163 |
+
timelimit_factor: 3
|
164 |
+
|
165 |
+
C# 10:
|
166 |
+
compile_cmd: csc
|
167 |
+
compile_flags: -o -nologo
|
168 |
+
execute_cmd: mono
|
169 |
+
compile_fn_name: generic_cs_compile
|
170 |
+
execute_fn_name: generic_interpreted_execute
|
171 |
+
file_name_fn_or_str_name: test.cs
|
172 |
+
timelimit_factor: 3
|
173 |
+
|
174 |
+
C# 8:
|
175 |
+
compile_cmd: csc
|
176 |
+
compile_flags: -o -nologo
|
177 |
+
execute_cmd: mono
|
178 |
+
compile_fn_name: generic_cs_compile
|
179 |
+
execute_fn_name: generic_interpreted_execute
|
180 |
+
file_name_fn_or_str_name: test.cs
|
181 |
+
timelimit_factor: 3
|
182 |
+
|
183 |
+
Mono C#:
|
184 |
+
compile_cmd: csc
|
185 |
+
compile_flags: -o -nologo
|
186 |
+
execute_cmd: mono
|
187 |
+
compile_fn_name: generic_cs_compile
|
188 |
+
execute_fn_name: generic_interpreted_execute
|
189 |
+
file_name_fn_or_str_name: test.cs
|
190 |
+
timelimit_factor: 3
|
191 |
+
|
192 |
+
.NET Core C#:
|
193 |
+
compile_cmd: csc
|
194 |
+
compile_flags: -o -nologo
|
195 |
+
execute_cmd: mono
|
196 |
+
compile_fn_name: generic_cs_compile
|
197 |
+
execute_fn_name: generic_interpreted_execute
|
198 |
+
file_name_fn_or_str_name: test.cs
|
199 |
+
timelimit_factor: 3
|
200 |
+
|
201 |
+
PyPy 2:
|
202 |
+
compile_cmd: pypy2
|
203 |
+
compile_flags: -W ignore -m py_compile
|
204 |
+
execute_cmd: pypy2
|
205 |
+
execute_flags: -W ignore -OO -s -S
|
206 |
+
execute_fn_name: generic_interpreted_execute
|
207 |
+
file_name_fn_or_str_name: test.py
|
208 |
+
timelimit_factor: 2
|
209 |
+
|
210 |
+
Python 2:
|
211 |
+
compile_cmd: python2
|
212 |
+
compile_flags: -W ignore -m py_compile
|
213 |
+
execute_cmd: python2
|
214 |
+
execute_flags: -W ignore -OO -s -S
|
215 |
+
execute_fn_name: generic_interpreted_execute
|
216 |
+
file_name_fn_or_str_name: test.py
|
217 |
+
timelimit_factor: 3
|
218 |
+
|
219 |
+
PyPy 3:
|
220 |
+
compile_cmd: pypy3
|
221 |
+
compile_flags: -W ignore -m py_compile
|
222 |
+
execute_cmd: pypy3
|
223 |
+
execute_flags: -W ignore -OO -s -S
|
224 |
+
compile_fn_name: generic_interpreted_compile
|
225 |
+
execute_fn_name: generic_interpreted_execute
|
226 |
+
file_name_fn_or_str_name: test.py
|
227 |
+
timelimit_factor: 2
|
228 |
+
|
229 |
+
PyPy 3-64:
|
230 |
+
compile_cmd: pypy3
|
231 |
+
compile_flags: -W ignore -m py_compile
|
232 |
+
execute_cmd: pypy3
|
233 |
+
execute_flags: -W ignore -OO -s -S
|
234 |
+
compile_fn_name: generic_interpreted_compile
|
235 |
+
execute_fn_name: generic_interpreted_execute
|
236 |
+
file_name_fn_or_str_name: test.py
|
237 |
+
timelimit_factor: 2
|
238 |
+
|
239 |
+
Python 3:
|
240 |
+
compile_cmd: python3
|
241 |
+
compile_flags: -W ignore -m py_compile
|
242 |
+
execute_cmd: python3
|
243 |
+
execute_flags: -W ignore -OO -s -S
|
244 |
+
compile_fn_name: generic_interpreted_compile
|
245 |
+
execute_fn_name: generic_interpreted_execute
|
246 |
+
file_name_fn_or_str_name: test.py
|
247 |
+
timelimit_factor: 3
|
248 |
+
|
249 |
+
Python 3 + libs:
|
250 |
+
compile_cmd: python3
|
251 |
+
compile_flags: -W ignore -m py_compile
|
252 |
+
execute_cmd: python3
|
253 |
+
execute_flags: -W ignore -OO -s -S
|
254 |
+
compile_fn_name: generic_interpreted_compile
|
255 |
+
execute_fn_name: generic_interpreted_execute
|
256 |
+
file_name_fn_or_str_name: test.py
|
257 |
+
timelimit_factor: 3
|
258 |
+
|
259 |
+
JavaScript:
|
260 |
+
compile_cmd: node
|
261 |
+
compile_flags: --check
|
262 |
+
execute_cmd: node
|
263 |
+
compile_fn_name: generic_interpreted_compile
|
264 |
+
execute_fn_name: generic_interpreted_execute
|
265 |
+
file_name_fn_or_str_name: test.js
|
266 |
+
timelimit_factor: 3
|
267 |
+
|
268 |
+
Node js:
|
269 |
+
compile_cmd: node
|
270 |
+
compile_flags: --check
|
271 |
+
execute_cmd: node
|
272 |
+
compile_fn_name: generic_interpreted_compile
|
273 |
+
execute_fn_name: generic_interpreted_execute
|
274 |
+
file_name_fn_or_str_name: test.js
|
275 |
+
timelimit_factor: 3
|
276 |
+
|
277 |
+
Node.js:
|
278 |
+
compile_cmd: node
|
279 |
+
compile_flags: --check
|
280 |
+
execute_cmd: node
|
281 |
+
compile_fn_name: generic_interpreted_compile
|
282 |
+
execute_fn_name: generic_interpreted_execute
|
283 |
+
file_name_fn_or_str_name: test.js
|
284 |
+
timelimit_factor: 3
|
285 |
+
|
286 |
+
Rust:
|
287 |
+
compile_cmd: rustc
|
288 |
+
compile_flags: -O
|
289 |
+
compile_fn_name: generic_rust_go_compile
|
290 |
+
execute_fn_name: generic_binary_execute
|
291 |
+
file_name_fn_or_str_name: test.rs
|
292 |
+
|
293 |
+
Rust 2021:
|
294 |
+
compile_cmd: rustc
|
295 |
+
compile_flags: --edition 2021 -O
|
296 |
+
compile_fn_name: generic_rust_go_compile
|
297 |
+
execute_fn_name: generic_binary_execute
|
298 |
+
file_name_fn_or_str_name: test.rs
|
299 |
+
|
300 |
+
Rust 2018:
|
301 |
+
compile_cmd: rustc
|
302 |
+
compile_flags: --edition 2018 -O
|
303 |
+
compile_fn_name: generic_rust_go_compile
|
304 |
+
execute_fn_name: generic_binary_execute
|
305 |
+
file_name_fn_or_str_name: test.rs
|
306 |
+
|
307 |
+
Rust 2015:
|
308 |
+
compile_cmd: rustc
|
309 |
+
compile_flags: --edition 2015 -O
|
310 |
+
compile_fn_name: generic_rust_go_compile
|
311 |
+
execute_fn_name: generic_binary_execute
|
312 |
+
file_name_fn_or_str_name: test.rs
|
313 |
+
|
314 |
+
Java 6:
|
315 |
+
compile_cmd: javac
|
316 |
+
compile_flags: -target 1.6 -nowarn -cp ".;*"
|
317 |
+
execute_cmd: java
|
318 |
+
execute_flags: -DONLINE_JUDGE=true -Xlog:disable -Xmx2g -XX:ReservedCodeCacheSize=64m -XX:-UseCompressedClassPointers -Xss256k
|
319 |
+
compile_fn_name: generic_java_compile
|
320 |
+
execute_fn_name: generic_java_execute
|
321 |
+
file_name_fn_or_str_name: java_file_name_suffix
|
322 |
+
timelimit_factor: 3
|
323 |
+
extend_mem_for_vm: true
|
324 |
+
extend_mem_flag_name: Xmx
|
325 |
+
|
326 |
+
Java 7:
|
327 |
+
compile_cmd: javac
|
328 |
+
compile_flags: -target 1.7 -nowarn -cp ".;*"
|
329 |
+
execute_cmd: java
|
330 |
+
execute_flags: -DONLINE_JUDGE=true -Xlog:disable -Xmx2g -XX:ReservedCodeCacheSize=64m -XX:-UseCompressedClassPointers -Xss256k
|
331 |
+
compile_fn_name: generic_java_compile
|
332 |
+
execute_fn_name: generic_java_execute
|
333 |
+
file_name_fn_or_str_name: java_file_name_suffix
|
334 |
+
timelimit_factor: 3
|
335 |
+
extend_mem_for_vm: true
|
336 |
+
extend_mem_flag_name: Xmx
|
337 |
+
|
338 |
+
Java 1.5:
|
339 |
+
compile_cmd: javac
|
340 |
+
compile_flags: -target 1.5 -nowarn -cp ".;*"
|
341 |
+
execute_cmd: java
|
342 |
+
execute_flags: -DONLINE_JUDGE=true -Xlog:disable -Xmx2g -XX:ReservedCodeCacheSize=64m -XX:-UseCompressedClassPointers -Xss256k
|
343 |
+
compile_fn_name: generic_java_compile
|
344 |
+
execute_fn_name: generic_java_execute
|
345 |
+
file_name_fn_or_str_name: java_file_name_suffix
|
346 |
+
timelimit_factor: 3
|
347 |
+
extend_mem_for_vm: true
|
348 |
+
extend_mem_flag_name: Xmx
|
349 |
+
|
350 |
+
Java 8:
|
351 |
+
compile_cmd: javac
|
352 |
+
compile_flags: -nowarn -cp ".;*"
|
353 |
+
execute_cmd: java
|
354 |
+
execute_flags: -DONLINE_JUDGE=true -Xlog:disable -Xmx2g -XX:ReservedCodeCacheSize=64m -XX:-UseCompressedClassPointers -Xss256k
|
355 |
+
compile_fn_name: generic_java_compile
|
356 |
+
execute_fn_name: generic_java_execute
|
357 |
+
file_name_fn_or_str_name: java_file_name_suffix
|
358 |
+
timelimit_factor: 3
|
359 |
+
extend_mem_for_vm: true
|
360 |
+
extend_mem_flag_name: Xmx
|
361 |
+
|
362 |
+
Java 11:
|
363 |
+
compile_cmd: javac
|
364 |
+
compile_flags: -nowarn -cp ".;*"
|
365 |
+
execute_cmd: java
|
366 |
+
execute_flags: -DONLINE_JUDGE=true -Xlog:disable -Xmx2g -XX:ReservedCodeCacheSize=64m -XX:-UseCompressedClassPointers -Xss256k
|
367 |
+
compile_fn_name: generic_java_compile
|
368 |
+
execute_fn_name: generic_java_execute
|
369 |
+
file_name_fn_or_str_name: java_file_name_suffix
|
370 |
+
timelimit_factor: 3
|
371 |
+
extend_mem_for_vm: true
|
372 |
+
extend_mem_flag_name: Xmx
|
373 |
+
|
374 |
+
Java 17:
|
375 |
+
compile_cmd: javac
|
376 |
+
compile_flags: -nowarn -cp ".;*"
|
377 |
+
execute_cmd: java
|
378 |
+
execute_flags: -DONLINE_JUDGE=true -Xlog:disable -Xmx2g -XX:ReservedCodeCacheSize=64m -XX:-UseCompressedClassPointers -Xss256k
|
379 |
+
compile_fn_name: generic_java_compile
|
380 |
+
execute_fn_name: generic_java_execute
|
381 |
+
file_name_fn_or_str_name: java_file_name_suffix
|
382 |
+
timelimit_factor: 3
|
383 |
+
extend_mem_for_vm: true
|
384 |
+
extend_mem_flag_name: Xmx
|
385 |
+
|
386 |
+
PHP:
|
387 |
+
compile_cmd: php
|
388 |
+
compile_flags: -l
|
389 |
+
execute_cmd: php
|
390 |
+
compile_fn_name: generic_interpreted_compile
|
391 |
+
execute_fn_name: generic_interpreted_execute
|
392 |
+
file_name_fn_or_str_name: test.php
|
393 |
+
timelimit_factor: 3
|
394 |
+
|
395 |
+
PHP 8.1:
|
396 |
+
compile_cmd: php
|
397 |
+
compile_flags: -l
|
398 |
+
execute_cmd: php
|
399 |
+
compile_fn_name: generic_interpreted_compile
|
400 |
+
execute_fn_name: generic_interpreted_execute
|
401 |
+
file_name_fn_or_str_name: test.php
|
402 |
+
timelimit_factor: 3
|
403 |
+
|
404 |
+
Go:
|
405 |
+
compile_cmd: go build
|
406 |
+
compile_fn_name: generic_rust_go_compile
|
407 |
+
execute_fn_name: generic_binary_execute
|
408 |
+
file_name_fn_or_str_name: test.go
|
409 |
+
|
410 |
+
Ruby:
|
411 |
+
compile_cmd: ruby
|
412 |
+
compile_flags: -c
|
413 |
+
execute_cmd: ruby
|
414 |
+
compile_fn_name: generic_interpreted_compile
|
415 |
+
execute_fn_name: generic_interpreted_execute
|
416 |
+
file_name_fn_or_str_name: test.rb
|
417 |
+
timelimit_factor: 3
|
418 |
+
|
419 |
+
Ruby 3:
|
420 |
+
compile_cmd: ruby
|
421 |
+
compile_flags: -c
|
422 |
+
execute_cmd: ruby
|
423 |
+
compile_fn_name: generic_interpreted_compile
|
424 |
+
execute_fn_name: generic_interpreted_execute
|
425 |
+
file_name_fn_or_str_name: test.rb
|
426 |
+
timelimit_factor: 3
|
427 |
+
|
428 |
+
Kotlin:
|
429 |
+
compile_cmd: kotlinc
|
430 |
+
compile_flags: -nowarn -language-version 1.7 -include-runtime
|
431 |
+
execute_cmd: java
|
432 |
+
execute_flags: -DONLINE_JUDGE=true -Xlog:disable -Xmx2g -XX:ReservedCodeCacheSize=64m -XX:-UseCompressedClassPointers -Xss256k -jar
|
433 |
+
sanitize_fn_name: sanitize_kotlin
|
434 |
+
compile_fn_name: generic_kt_compile
|
435 |
+
execute_fn_name: generic_kotlin_execute
|
436 |
+
file_name_fn_or_str_name: test.kt
|
437 |
+
timelimit_factor: 3
|
438 |
+
extend_mem_for_vm: true
|
439 |
+
extend_mem_flag_name: Xmx
|
440 |
+
|
441 |
+
Kotlin 1.4:
|
442 |
+
compile_cmd: kotlinc
|
443 |
+
compile_flags: -nowarn -language-version 1.4 -include-runtime
|
444 |
+
execute_cmd: java
|
445 |
+
execute_flags: -DONLINE_JUDGE=true -Xlog:disable -Xmx2g -XX:ReservedCodeCacheSize=64m -XX:-UseCompressedClassPointers -Xss256k -jar
|
446 |
+
sanitize_fn_name: sanitize_kotlin
|
447 |
+
compile_fn_name: generic_kt_compile
|
448 |
+
execute_fn_name: generic_kotlin_execute
|
449 |
+
file_name_fn_or_str_name: test.kt
|
450 |
+
timelimit_factor: 3
|
451 |
+
extend_mem_for_vm: true
|
452 |
+
extend_mem_flag_name: Xmx
|
453 |
+
|
454 |
+
Kotlin 1.5:
|
455 |
+
compile_cmd: kotlinc
|
456 |
+
compile_flags: -nowarn -language-version 1.5 -include-runtime
|
457 |
+
execute_cmd: java
|
458 |
+
execute_flags: -DONLINE_JUDGE=true -Xlog:disable -Xmx2g -XX:ReservedCodeCacheSize=64m -XX:-UseCompressedClassPointers -Xss256k -jar
|
459 |
+
sanitize_fn_name: sanitize_kotlin
|
460 |
+
compile_fn_name: generic_kt_compile
|
461 |
+
execute_fn_name: generic_kotlin_execute
|
462 |
+
file_name_fn_or_str_name: test.kt
|
463 |
+
timelimit_factor: 3
|
464 |
+
extend_mem_for_vm: true
|
465 |
+
extend_mem_flag_name: Xmx
|
466 |
+
|
467 |
+
Kotlin 1.6:
|
468 |
+
compile_cmd: kotlinc
|
469 |
+
compile_flags: -nowarn -language-version 1.6 -include-runtime
|
470 |
+
execute_cmd: java
|
471 |
+
execute_flags: -DONLINE_JUDGE=true -Xlog:disable -Xmx2g -XX:ReservedCodeCacheSize=64m -XX:-UseCompressedClassPointers -Xss256k -jar
|
472 |
+
sanitize_fn_name: sanitize_kotlin
|
473 |
+
compile_fn_name: generic_kt_compile
|
474 |
+
execute_fn_name: generic_kotlin_execute
|
475 |
+
file_name_fn_or_str_name: test.kt
|
476 |
+
timelimit_factor: 3
|
477 |
+
extend_mem_for_vm: true
|
478 |
+
extend_mem_flag_name: Xmx
|
479 |
+
|
480 |
+
Kotlin 1.7:
|
481 |
+
compile_cmd: kotlinc
|
482 |
+
compile_flags: -nowarn -language-version 1.7 -include-runtime
|
483 |
+
execute_cmd: java
|
484 |
+
execute_flags: -DONLINE_JUDGE=true -Xlog:disable -Xmx2g -XX:ReservedCodeCacheSize=64m -XX:-UseCompressedClassPointers -Xss256k -jar
|
485 |
+
sanitize_fn_name: sanitize_kotlin
|
486 |
+
compile_fn_name: generic_kt_compile
|
487 |
+
execute_fn_name: generic_kotlin_execute
|
488 |
+
file_name_fn_or_str_name: test.kt
|
489 |
+
timelimit_factor: 3
|
490 |
+
extend_mem_for_vm: true
|
491 |
+
extend_mem_flag_name: Xmx
|
execution_engine/.ipynb_checkpoints/limits_by_lang-checkpoint.yaml
ADDED
@@ -0,0 +1,183 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
GNU C:
|
2 |
+
nofile: 0
|
3 |
+
|
4 |
+
GNU C11:
|
5 |
+
nofile: 0
|
6 |
+
|
7 |
+
GNU C++:
|
8 |
+
nofile: 0
|
9 |
+
|
10 |
+
GNU C++0x:
|
11 |
+
nofile: 0
|
12 |
+
|
13 |
+
GNU C++11:
|
14 |
+
nofile: 0
|
15 |
+
|
16 |
+
GNU C++14:
|
17 |
+
nofile: 0
|
18 |
+
|
19 |
+
GNU C++17:
|
20 |
+
nofile: 0
|
21 |
+
|
22 |
+
GNU C++17 (64):
|
23 |
+
nofile: 0
|
24 |
+
|
25 |
+
GNU C++20 (64):
|
26 |
+
nofile: 0
|
27 |
+
|
28 |
+
GNU C++20:
|
29 |
+
nofile: 0
|
30 |
+
|
31 |
+
GNU C++17 Diagnostics:
|
32 |
+
nofile: 0
|
33 |
+
|
34 |
+
Clang++17 Diagnostics:
|
35 |
+
nofile: 0
|
36 |
+
|
37 |
+
Clang++17:
|
38 |
+
nofile: 0
|
39 |
+
|
40 |
+
Clang++20 Diagnostics:
|
41 |
+
nofile: 0
|
42 |
+
|
43 |
+
Clang++20:
|
44 |
+
nofile: 0
|
45 |
+
|
46 |
+
Clang++14:
|
47 |
+
nofile: 0
|
48 |
+
|
49 |
+
Clang++11:
|
50 |
+
nofile: 0
|
51 |
+
|
52 |
+
MS C++:
|
53 |
+
nofile: 0
|
54 |
+
|
55 |
+
MS C++ 2017:
|
56 |
+
nofile: 0
|
57 |
+
|
58 |
+
MS C#:
|
59 |
+
nofile: 4
|
60 |
+
nproc: 4
|
61 |
+
fsize: 1073741824
|
62 |
+
|
63 |
+
C# 10:
|
64 |
+
nofile: 4
|
65 |
+
nproc: 4
|
66 |
+
fsize: 1073741824
|
67 |
+
|
68 |
+
C# 8:
|
69 |
+
nofile: 4
|
70 |
+
nproc: 4
|
71 |
+
fsize: 1073741824
|
72 |
+
|
73 |
+
Mono C#:
|
74 |
+
nofile: 4
|
75 |
+
nproc: 4
|
76 |
+
fsize: 1073741824
|
77 |
+
|
78 |
+
.NET Core C#:
|
79 |
+
nofile: 4
|
80 |
+
nproc: 4
|
81 |
+
fsize: 1073741824
|
82 |
+
|
83 |
+
PyPy 2:
|
84 |
+
nofile: 4
|
85 |
+
|
86 |
+
Python 2:
|
87 |
+
nofile: 4
|
88 |
+
|
89 |
+
PyPy 3:
|
90 |
+
nofile: 4
|
91 |
+
|
92 |
+
PyPy 3-64:
|
93 |
+
nofile: 4
|
94 |
+
|
95 |
+
Python 3:
|
96 |
+
nofile: 4
|
97 |
+
|
98 |
+
Python 3 + libs:
|
99 |
+
nofile: 4
|
100 |
+
|
101 |
+
JavaScript:
|
102 |
+
nofile: 25
|
103 |
+
nproc: 25
|
104 |
+
|
105 |
+
Node js:
|
106 |
+
nofile: 25
|
107 |
+
nproc: 25
|
108 |
+
|
109 |
+
Node.js:
|
110 |
+
nofile: 25
|
111 |
+
nproc: 25
|
112 |
+
|
113 |
+
Rust:
|
114 |
+
nofile: 4
|
115 |
+
|
116 |
+
Rust 2021:
|
117 |
+
nofile: 4
|
118 |
+
|
119 |
+
Rust 2018:
|
120 |
+
nofile: 4
|
121 |
+
|
122 |
+
Rust 2015:
|
123 |
+
nofile: 4
|
124 |
+
|
125 |
+
Java 6:
|
126 |
+
nofile: 25
|
127 |
+
nproc: 23
|
128 |
+
|
129 |
+
Java 7:
|
130 |
+
nofile: 25
|
131 |
+
nproc: 23
|
132 |
+
|
133 |
+
Java 1.5:
|
134 |
+
nofile: 25
|
135 |
+
nproc: 23
|
136 |
+
|
137 |
+
Java 8:
|
138 |
+
nofile: 25
|
139 |
+
nproc: 23
|
140 |
+
|
141 |
+
Java 11:
|
142 |
+
nofile: 25
|
143 |
+
nproc: 23
|
144 |
+
|
145 |
+
Java 17:
|
146 |
+
nofile: 25
|
147 |
+
nproc: 23
|
148 |
+
|
149 |
+
PHP:
|
150 |
+
nofile: 4
|
151 |
+
|
152 |
+
PHP 8.1:
|
153 |
+
nofile: 4
|
154 |
+
|
155 |
+
Go:
|
156 |
+
nofile: 0
|
157 |
+
nproc: 7
|
158 |
+
|
159 |
+
Ruby:
|
160 |
+
nofile: 10
|
161 |
+
|
162 |
+
Ruby 3:
|
163 |
+
nofile: 10
|
164 |
+
|
165 |
+
Kotlin:
|
166 |
+
nofile: 25
|
167 |
+
nproc: 23
|
168 |
+
|
169 |
+
Kotlin 1.4:
|
170 |
+
nofile: 25
|
171 |
+
nproc: 23
|
172 |
+
|
173 |
+
Kotlin 1.5:
|
174 |
+
nofile: 25
|
175 |
+
nproc: 23
|
176 |
+
|
177 |
+
Kotlin 1.6:
|
178 |
+
nofile: 25
|
179 |
+
nproc: 23
|
180 |
+
|
181 |
+
Kotlin 1.7:
|
182 |
+
nofile: 25
|
183 |
+
nproc: 23
|
execution_engine/.ipynb_checkpoints/worker_cfg_db-checkpoint.csv
ADDED
File without changes
|
execution_engine/worker_cfg_db.csv
ADDED
File without changes
|