1 # Configuration file for MO Evaluator
2 # (c) 2001 Martin Mares <mj@ucw.cz>
4 # Directories and users
8 TEST_USERS="mo-test1 mo-test2"
10 # UID range assigned to contestants
15 # Test user for sandboxing
16 TEST_USER=${TEST_USER:mo-test1}
18 ### all of the following variables can be overriden in per-task config file
20 # Known source file extensions
21 EXTENSIONS="c C cpp p pas"
23 # Extra compiler flags (null, but can be overriden)
26 # For each source extension, we must give compiler command
27 COMP_c='/usr/bin/gcc -O2 -g -o $EXE $EXTRA_CFLAGS $SRC'
28 COMP_C='/usr/bin/g++ -O2 -g -o $EXE $EXTRA_CFLAGS $SRC'
30 COMP_p='/usr/bin/fpc -Ci -Cr -g -O2 -So -Sg -o$EXE $EXTRA_CFLAGS $SRC'
33 # Sandbox options used when compiling
34 COMP_SANDBOX_OPTS='-m65536 -t60 -w -e'
36 # Sandbox options used when testing
37 TEST_SANDBOX_OPTS='-a2 -f -m$MEM_LIMIT -t$TIME_LIMIT'
38 # -w for wall clock measuring
39 # For stdio tasks append '-i$PROBLEM.in -o$PROBLEM.out'