1 # HOME set automatically
2 # CONTESTANT set automatically
3 # TASK set automatically
5 TASK_DIR="${HOME}/problems/${TASK}"
6 SOL_DIR="${HOME}/solutions/${CONTESTANT}/${TASK}"
7 TEST_DIR="${HOME}/testing/${CONTESTANT}/${TASK}"
11 ### Programming language settings
13 # Known source file extensions
14 EXTENSIONS="c cc C cpp p pas"
16 # Some of the extensions can be aliases for other extensions
23 ## Variables which control compilation and execution
24 ## (see below for values for individual languages)
26 # Command used to run the compiler
29 # Sandbox options used when compiling
30 COMP_SANDBOX_OPTS='-m262144 -w60 -e -i/dev/null'
32 # EXE is auto, but can be overridden
34 # Command used to execute the compiled program, may be ./$PROGRAM (default) or an
35 # interpreter with $PROGRAM as a parameter.
38 ## Settings for individual languages
41 EXT_c_COMP='/usr/bin/gcc -std=gnu99 -O2 -g -o $EXE $EXTRA_CFLAGS $SRC -lm'
45 EXT_cpp_COMP='/usr/bin/g++ -O2 -g -o $EXE $EXTRA_CXXFLAGS $SRC -lm'
49 EXT_pas_COMP='/usr/bin/fpc -Ci -g -O2 -Sg -o$EXE $EXTRA_PFLAGS $SRC'
52 ### Per-task configuration variables (default values, override in per-task config)
54 # List of extra files needed for compilation. They are copied to the compiler
55 # sandbox from the problem's directory. XXX: or tdir
56 #COMP_EXTRAS="extras.h"