domjudge icon indicating copy to clipboard operation
domjudge copied to clipboard

Download Contest Statements

Open lperovskaya opened this issue 1 year ago • 5 comments

Provide contestants with a single PDF file with contest statements in addition to existing ability to download each problem statement separately

Every contestant has to open each of problem statement pages at the beginning of the contest, or, if they have a printer access, send multiple print tasks to get a printed version of problem statements. Would be nice to have a single place to download a single pdf file with all problems in them.

To streamline the contest start for contestants

Expected behaviour

As soon as the contest starts the top of the list of problems page should have a way ( a separate button?) to download a concatenated PDF file with all problem statements

lperovskaya avatar May 30 '23 15:05 lperovskaya

If this is implemented, it would be nice if this "concatenated PDF" could be set by the contest creator. In BAPC/NWERC, we typically print the full problem set for every team to put on their table before the contest starts, with a nice front-page, which I would like to see included in this "download full PDF" button.

mpsijm avatar Jun 02 '23 12:06 mpsijm

I was thinking of having a contest.pdf you could upload on a contest, similar to the banner

nickygerritsen avatar Jun 02 '23 13:06 nickygerritsen

So after discussing this we have some questions / thoughts we first need to decide on:

  • How to call the table / entity? ContestStatement?
  • Do we allow more than PDF just like problem texts?
  • Where do we put download button(s) for it? On the jury contest page and the team/public problemset page? But then where/how?
  • Do we put this PDF in any of the ZIPs? Do we need a new ZIP?

Before we implement this, I think we need to answer these.

nickygerritsen avatar Nov 24 '23 19:11 nickygerritsen

Regarding the zip (the last question): BAPCtools allows exporting a samples.zip with the following structure, which we extract in the contestant PCs' home directories before the start of the contest:

- A
  - 1.in
  - 1.ans
  - ...
- B
  - ...
- ...
- contest.pdf
- contest-web.pdf

If you end up implementing a zip button that downloads all samples and the contest PDF, it would be nice if it would follow the same/similar structure :slightly_smiling_face:

mpsijm avatar Nov 27 '23 09:11 mpsijm

Thanks that makes sense

nickygerritsen avatar Nov 27 '23 09:11 nickygerritsen