Skip to content

Commit 54ff381

Browse files
committed
Include example
1 parent ce14aaf commit 54ff381

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/manual/problem-format.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ On top, DOMjudge defines a few extensions:
2121
the ``@EXPECTED_RESULTS@:`` tag is ignored in
2222
the four official submission subdirectories,
2323
but it will work if the tagged solution is in, e.g.,
24-
``submissions/mixed/`` or ``submissions/rejected/``.
24+
``submissions/mixed-verdicts``, ``submissions/mixed/`` or ``submissions/rejected/``.
25+
26+
.. literalinclude:: ../../example_problems/boolfind/submissions/mixed-verdicts/boolfind-test-random.py
27+
:language: python
28+
:caption: *Example jury solution with multiple outcomes*
2529

2630
The file ``domjudge-problem.ini`` contains key-value pairs, one
2731
pair per line, of the form ``key = value``. The ``=`` can

0 commit comments

Comments
 (0)