Post
by handler » 04 April 2011, 12:19
Здравствуйте!
Отдыхал, собирался с мыслями.
С Вашей помощью начинаю постигать суть работы системы.
Два вопроса:
1. В tests/C скопировал файлы Input01.txt ... и Answer01.txt ...
В секции [problem] id=3 указал:
test_pat = "Input%02.txt"
corr_pat = "Answer%01.txt"
Нажал проверить контест:
*** Checking problem A ***
Info: assuming, that there are 5 tests for this problem
*** Checking problem B ***
Info: assuming, that there are 3 tests for this problem
*** Checking problem C ***
Info: assuming, that there are 12 tests for this problem
Error: file Answer01.txt not found even case insensetively
Хотя файлы там есть.
2. насколько я понял, мне не обязательно компилировать чекеры - они собираются во время "check contest setting" - я тогда скопировал check_c.pas вместе с testlib.pas и symbols.pas в checkers и при проверке контеста выдало:
*** Checking problem A ***
Info: assuming, that there are 5 tests for this problem
*** Checking problem B ***
Info: assuming, that there are 3 tests for this problem
*** Checking problem C ***
Warning: checker /home/judges/000002/conf/../checkers/check_c does not exist
Info: using command line fpc -Fu/home/ejudge/inst-ejudge/share/ejudge/testlib/fpc check_c.pas
Starting compilation: fpc -Fu/home/ejudge/inst-ejudge/share/ejudge/testlib/fpc check_c.pas
Free Pascal Compiler version 2.4.2 [2010/11/09] for x86_64
Copyright (c) 1993-2010 by Florian Klaempfl
Target OS: Linux for x86-64
Compiling check_c.pas
check_c.pas(1,2) Warning: The switch "$E" is not supported by the currently selected target
check_c.pas(1,2) Note: Ignored compiler switch "$F"
check_c.pas(1,2) Note: Ignored compiler switch "$G"
check_c.pas(1,2) Warning: Unsupported switch "$L"
check_c.pas(1,2) Warning: Unsupported switch "$N"
check_c.pas(1,2) Warning: Unsupported switch "$Y"
check_c.pas(16,1) Error: Can't create object file: check_c.o
check_c.pas(16,1) Fatal: Can't create object check_c.o
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode (normal if you did not specify a source file to be compiled)
process exited with code 1
Error: compiler exit code 1
А вручную собирается нормально.
P.S. Выбираю задачу C, выбираю Solution.pas, прилагаемый к ней, отправляю на проверку и результат проверки почему-то Running - возможно из-за того,что не может найти все того же Answer01.txt ?