Skip to content
Open
Show file tree
Hide file tree
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
6 changes: 2 additions & 4 deletions doc/examples/example.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using System;

public class Hello
{
public static void Main(string[] args)
{
public class Hello {
public static void Main(string[] args) {
int nTests = int.Parse(Console.ReadLine());

for (int i = 0; i < nTests; i++) {
Expand Down
1 change: 0 additions & 1 deletion doc/examples/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
for i in range(n):
name = sys.stdin.readline().rstrip('\n')
print('Hello %s!' % (name))

Binary file added doc/manual/team-problemset.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 36 additions & 9 deletions doc/manual/team.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ become of importance when you run into problems.
.. admonition:: Summary

The web interface of DOMjudge can be found at
|baseurlteam|. See the two figures on the next page for
|baseurlteam|. See the three figures on the next pages for
an impression.

Solutions have to read all input from 'standard in' and write all
Expand Down Expand Up @@ -54,6 +54,14 @@ become of importance when you run into problems.
requests and replies is done through the web interface at
|baseurlteam|.

Use the problemset page to get:

- get all attachments such as 'testing tools' for each problem,
- view indicators for problem difficulty (submission and acceptance rates) across
contest intervals (hover over the boxes for exact numbers),
- get the problem statement and clarifications on those statements
- see the time & memory limits.


.. raw:: pdf

Expand All @@ -76,6 +84,11 @@ Overview of the interface

The scoreboard webpage.

.. figure:: team-problemset.png
:width: 80%

The problemset webpage.

.. raw:: pdf

PageBreak
Expand Down Expand Up @@ -128,6 +141,16 @@ an error message otherwise.

Web interface
`````````````
Judges may distribute the digital versions of the problems either individually
per or as full problemset through DOMjudge. If the judges issue a clarification
for a problem, it will be sent out and displayed in the corresponding problem card.
The judges may provide additional files for a problem, such as extra inputs,
testing tools, or other relevant attachments. You can use the problemset page to
help decide which problem to solve next. DOMjudge shows the live contest progress,
including the number of successful and failed submissions for each problem. Use the
info from the problemset page and the scoreboard to gauge problem difficulty. A good
rule of thumb is: Problems solved often and early in the contest are likely easier.
Problems solved infrequently or only later in the contest are typically more difficult.

Solutions can be submitted from the web interface at |baseurlteam|.
Click the green *Submit* button at the menu bar on every page.
Expand Down Expand Up @@ -297,7 +320,7 @@ This will be documented in the problem description.
Restrictions
````````````

Submissions are run in a sandbox to prevent abuse, keep the jury system
Submissions are run in a sandbox to prevent abuse, keep the judging system
stable and give everyone clear and equal environments. There
are some restrictions to which all submissions are subjected:

Expand Down Expand Up @@ -340,6 +363,10 @@ number of processes

PageBreak

.. raw:: latex

\clearpage

.. _codeexamples:

Code examples
Expand Down Expand Up @@ -375,10 +402,6 @@ for different programming languages.
:language: c
:caption: *A solution in C*

.. raw:: latex

\clearpage

.. literalinclude:: ../examples/example.cc
:language: cpp
:caption: *A solution in C++*
Expand All @@ -395,18 +418,22 @@ for different programming languages.
:language: python
:caption: *A solution in Python*

.. literalinclude:: ../examples/example.cs
..
.. literalinclude:: ../examples/example.cs
:language: csharp
:caption: *A solution in C#*

.. literalinclude:: ../examples/example.pas
..
.. literalinclude:: ../examples/example.pas
:language: pas
:caption: *A solution in Pascal*

.. literalinclude:: ../examples/example.hs
..
.. literalinclude:: ../examples/example.hs
:language: hs
:caption: *A solution in Haskell*


Improvements to DOMjudge
------------------------

Expand Down
Loading