Skip to content

docs: specify externalid and shortname is optional #2643

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions doc/manual/problem-format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,16 @@ interface):
- ``special_compare`` - executable id of a special compare script
- ``points`` - number of points for this problem (defaults to 1)
- ``color`` - CSS color specification for this problem

The basename of the ZIP-file will be used as the problem short name (e.g. "A").
All keys are optional. If they are present, the respective value will be
overwritten; if not present, then the value will not be changed or a default
chosen when creating a new problem. Test data files are added to set of test
cases already present. Thus, one can easily add test cases to a configured
problem by uploading a zip file that contains only testcase files. Any jury
solutions present will be automatically submitted when ``allow_submit`` is
``1`` and there's a team associated with the uploading user.
- ``externalid`` - the external id of the problem
- ``short-name`` - the short name of the problem

The basename of the ZIP-file will be used as the problem external id and short
name (e.g. "A"). All keys are optional. If they are present, the respective
value will be overwritten; if not present, then the value will not be changed
or a default chosen when creating a new problem. Test data files are added to
set of test cases already present. Thus, one can easily add test cases to a
configured problem by uploading a zip file that contains only testcase files.
Any jury solutions present will be automatically submitted when ``allow_submit``
is ``1`` and there's a team associated with the uploading user.

.. _ICPC problem package specification: https://icpc.io/problem-package-format/spec/problem_package_format
Loading