Difference between revisions of "Serve.cfg:problem:abstract"

From EjudgeWiki
 
Line 25: Line 25:
 
Конкретная задача наследует следующие конфигурационные переменные из
 
Конкретная задача наследует следующие конфигурационные переменные из
 
описания абстрактной задачи: <tt>[[serve.cfg:problem:accept_partial|accept_partial]]</tt>, <tt>[[serve.cfg:problem:checker_real_time_limit|checker_real_time_limit]]</tt>,
 
описания абстрактной задачи: <tt>[[serve.cfg:problem:accept_partial|accept_partial]]</tt>, <tt>[[serve.cfg:problem:checker_real_time_limit|checker_real_time_limit]]</tt>,
<tt>[[serve.cfg:problem:corr_dir|corr_dir]]</tt>, <tt>[[serve.cfg:problem:corr_sfx|corr_sfx]]</tt>, <tt>[[serve.cfg:problem:disable_auto_testing|disable_auto_testing]]/tt>, <tt>[[serve.cfg:problem:disable_testing|disable_testing]]</tt>, <tt>[[serve.cfg:problem:full_score|full_score]]</tt>,
+
<tt>[[serve.cfg:problem:corr_dir|corr_dir]]</tt>, <tt>[[serve.cfg:problem:corr_sfx|corr_sfx]]</tt>, <tt>[[serve.cfg:problem:disable_auto_testing|disable_auto_testing]]</tt>, <tt>[[serve.cfg:problem:disable_testing|disable_testing]]</tt>, <tt>[[serve.cfg:problem:full_score|full_score]]</tt>,
 
<tt>[[serve.cfg:problem:hidden|hidden]]</tt>, <tt>[[serve.cfg:problem:info_dir|info_dir]]</tt>, <tt>[[serve.cfg:problem:info_sfx|info_sfx]]</tt>, <tt>[[serve.cfg:problem:input_file|input_file]]</tt>, <tt>[[serve.cfg:problem:output_file|output_file]]</tt>, <tt>[[serve.cfg:problem:real_time_limit|real_time_limit]]</tt>,
 
<tt>[[serve.cfg:problem:hidden|hidden]]</tt>, <tt>[[serve.cfg:problem:info_dir|info_dir]]</tt>, <tt>[[serve.cfg:problem:info_sfx|info_sfx]]</tt>, <tt>[[serve.cfg:problem:input_file|input_file]]</tt>, <tt>[[serve.cfg:problem:output_file|output_file]]</tt>, <tt>[[serve.cfg:problem:real_time_limit|real_time_limit]]</tt>,
 
<tt>[[serve.cfg:problem:run_penalty|run_penalty]]</tt>, <tt>[[serve.cfg:problem:team_enable_ce_view|team_enable_ce_view]]</tt>, <tt>[[serve.cfg:problem:team_enable_rep_view|team_enable_rep_view]]</tt>, <tt>[[serve.cfg:problem:team_show_judge_report|team_show_judge_report]]</tt>,
 
<tt>[[serve.cfg:problem:run_penalty|run_penalty]]</tt>, <tt>[[serve.cfg:problem:team_enable_ce_view|team_enable_ce_view]]</tt>, <tt>[[serve.cfg:problem:team_enable_rep_view|team_enable_rep_view]]</tt>, <tt>[[serve.cfg:problem:team_show_judge_report|team_show_judge_report]]</tt>,

Revision as of 15:56, 13 February 2012

Навигация: Главная страница/Система ejudge/Использование/Конфигурационные файлы/serve.cfg/Конфигурационные параметры задач/abstract

Имя переменной: abstract
Содержится в: problem
Используется: serve, run
Тип содержимого: boolean
Может отсутствовать: да
Значение по умолчанию: false
Может повторяться: нет

Описание. Если данная конфигурационная переменная установлена в true, текущее описание задачи является описанием абстрактной задачи. Абстрактная задача не может иметь идентификатора задачи (id) или длинного имени задачи (long_name), но должна иметь короткое имя (short_name), уникальное среди всех абстрактных задач. Абстрактная задаче не может наследовать свойства другой абстрактной задачи, то есть в абстрактных задачах запрещено использование конфигурационной переменной super. Значения конфигурационных переменных, установленные в некоторой абстрактной задаче, наследуются конкретной задачей, указавшей данную абстрактную задачу в значении своей конфигурационной переменной super.

Конкретная задача наследует следующие конфигурационные переменные из описания абстрактной задачи: accept_partial, checker_real_time_limit, corr_dir, corr_sfx, disable_auto_testing, disable_testing, full_score, hidden, info_dir, info_sfx, input_file, output_file, real_time_limit, run_penalty, team_enable_ce_view, team_enable_rep_view, team_show_judge_report, test_dir, test_score, test_sfx, test_to_accept, tgz_dir, tgz_sfx, time_limit, use_corr, use_info, use_stdin, use_stdout, use_tgz, variable_full_score, variant_num.

При этом при наследовании конфигурационных переменных corr_dir, info_dir, input_file, output_file, test_dir tgz_dir выполняется форматная подстановка .

Не наследуются следующие конфигурационные переменные абстрактной задачи: abstract, deadline, id, long_name, short_name, super, tester_id, test_score_list, test_sets.