judge: add address space limit to language config (#682)

This commit is contained in:
Yang Gao authored and GitHub committed 2023-11-01 09:40:14 +08:00
1 parent 6276627ee1
commit ee4fc2b732
8 files changed
+26 -1

No files matched your search

+4
View File
@@ -42,6 +42,8 @@ langs:
target?: Compiler output file, defaults to `foo`
display: Display name
compile_time_limit?: Compile time limit, in milliseconds
address_space_limit?: Enable address space memory limit as CCF did
process_limit?: Limit the number of thread
bash:
display: Bash
code_file: foo.sh
@@ -58,6 +60,8 @@ langs:
highlight: cpp
monaco: cpp
display: C++
address_space_limit: true
process_limit: 1
cc.cc98:
compile: /usr/bin/g++ -Wall -std=c++98 -o foo foo.cc -lm -I/include
display: C++98