1 # The Evaluator -- Public Checking Script
2 # (c) 2001--2004 Martin Mares <mj@ucw.cz>
5 [ -n "$MO_PUBLIC" -a -d "$MO_PUBLIC" ] || { echo >&2 "MO_PUBLIC not set, giving up." ; exit 1 ; }
9 [ -n "$1" ] || die "Usage: check <problem> [<test-number>]"
20 if [ $TASK_TYPE == open-data ] ; then
21 [ -n "$2" ] || die "You need to specify test number for open data problems."
23 pstart "Checking $TEST: "
25 ln $SRCN $TDIR/$TEST.out
29 [ -z "$2" ] || die "Test number should be given only for open data problems."
32 for TEST in $SAMPLE_TESTS ; do
34 pstart "Checking on sample input $TEST: "