homepage: type: yaml desc: Homepage Config default: - width: 9 bulletin: true contest: 5 homework: 10 training: 10 ranking: 10 discussion: 20 - width: 3 hitokoto: true starred_problems: 50 recent_problems: 10 discussion_nodes: true suggestion: true langs: type: yaml desc: Code language settings default: __hint__: - ~ All keys starting with _ will be ignored - ~ Entries named like [foo], [foo].[bar] [foo].[baz] - . will be merged into one category. - ~ A entry named [foo].[bar] will inhert all options - . defined in entry [foo] if not overwritten - ~ code_file option defaults to foo.[name] - ~ highlight option defaults to [name] - ~ if highlight option was set, monaco option defaults - . to [highlight], otherwise defaults to [name] - ~ Compiling be be ignored if compile option wasn't set - ~ Key marked with a ? means the option is optional - (name): disabled?: (boolean) whether to disable this language hidden?: (boolean) won't show in the language selection compile?: (string) Compile Command code_file?: (string) Where to write code file when compiling, defaults to `foo.[name]` execute: (string) Command to execute the program highlight?: (string) PrismJS highlight mode monaco?: (string) Monaco editor mode time_limit_rate?: (number) Time limit rate target?: (string) Compiler output file, defaults to `foo` display: (string) Display name compile_time_limit?: (number) Compile time limit, in milliseconds compile_memory_limit?: (number) Compile memory limit, in MB address_space_limit?: (boolean) Enable address space memory limit as CCF did process_limit?: (number) Limit the number of thread bash: display: Bash code_file: foo.sh execute: /bin/bash foo.sh highlight: bash version: /bin/bash --version c: compile: /usr/bin/gcc -Wall --std=c99 -o foo foo.c -lm highlight: c monaco: c display: C version: /usr/bin/gcc --version cc: compile: /usr/bin/g++ -Wall {modifier:std} -o foo foo.cc -lm {modifier:optimize} -I/include code_file: foo.cc highlight: cpp monaco: cpp display: C++ address_space_limit: true process_limit: 1 version: /usr/bin/g++ --version modifier: optimize: name: Optimize type: single values: None: '' O2: -O2 O3: -O3 Ofast: -Ofast std: name: Standard type: single values: C++98: -std=c++98 C++11: -std=c++11 C++14: -std=c++14 C++17: -std=c++17 C++20: -std=c++20 C++23: -std=c++23 pas: compile: /usr/bin/fpc -O2 -o/w/foo foo.pas highlight: pascal display: Pascal version: /usr/bin/fpc -iW java: compile: /usr/bin/bash -c "javac -d /w -encoding utf8 ./Main.java && jar cvf Main.jar *.class >/dev/null" code_file: Main.java target: Main.jar execute: /usr/bin/java -cp Main.jar Main time_limit_rate: 2 highlight: java astyle-java monaco: java display: Java compile_time_limit: 30000 version: /usr/bin/javac -version kt: compile: /usr/bin/kotlinc -include-runtime -d foo.jar foo.kt code_file: foo.kt execute: /usr/bin/java -jar foo.jar target: foo.jar version: /usr/bin/kotlinc -version compile_time_limit: 30000 time_limit_rate: 2 highlight: kotlin monaco: kotlin display: Kotlin modifier: version: name: Runtime type: single values: JVM: jvm Native: value: native disabled: true py: compile: /usr/bin/python -c "import py_compile; py_compile.compile('/w/foo.py', '/w/foo', doraise=True)" code_file: foo.py execute: /usr/bin/python foo version: /usr/bin/{modifier:version} --version highlight: python display: Python modifier: version: name: Version type: single values: Python2: value: python2 disabled: true Python 3: value: python3 compile: /usr/bin/python3 -c "import py_compile; py_compile.compile('/w/foo.py', '/w/foo', doraise=True)" execute: /usr/bin/python3 foo PyPy3: value: pypy3 compile: /bin/bash -c "/usr/bin/pypy3 -c \"import py_compile; py_compile.compile('/w/foo.py', '/w/foo', doraise=True)\" && mv foo.py foo" execute: /bin/bash -c 'mv foo foo.py && /usr/bin/pypy3 -B foo.py' php: execute: /usr/bin/php foo.php display: PHP version: /usr/bin/php -v rs: compile: /usr/bin/rustc -O -o /w/foo /w/foo.rs highlight: rust display: Rust version: /usr/bin/rustc --version hs: compile: /usr/bin/ghc -O -outputdir /tmp -o foo foo.hs highlight: haskell display: Haskell version: /usr/bin/ghc --version js: execute: /usr/bin/node /w/foo.js highlight: javascript display: NodeJS version: /usr/bin/node --version go: compile: /usr/bin/go build -o foo foo.go display: Golang version: /usr/bin/go version rb: execute: /usr/bin/ruby foo.rb highlight: ruby display: Ruby version: /usr/bin/ruby --version cs: compile: /usr/bin/mcs -optimize+ -out:/w/foo /w/foo.cs execute: /usr/bin/mono foo highlight: csharp monaco: csharp display: 'C#' version: /usr/bin/mcs --version r: display: R execute: /bin/sh -c "cat /dev/stdin >stdin && /usr/bin/Rscript --vanilla foo.r" highlight: r