Greetings!
Perhaps I'm mistaken...but isn't there a way for contestants to download the input and output files marked "sample" for a given file from inside DOMjudge? I thought this was possible but I don't see how, and I looked through the documentation.
One other question, if someone knows: is the information about the contest start time and end time available inside the renderScoreBoardTable function? I figured out how to do everything else I want with the scoreboard but there is one thing I want to do once the contest is half over. It looks like the information might be in the $cdata variable--is there a description of the internal data structures somewhere?
Our contest is Saturday and it looks like things are coming together...this is the first year I have been delving deep into DOMjudge, and I am impressed with what I have found. Thanks to the team for developing and maintaining the system.
Marc
Hi Marc,
On 11/12/15 04:14, Marc Furon wrote:
Perhaps I'm mistaken...but isn't there a way for contestants to download the input and output files marked "sample" for a given file from inside DOMjudge? I thought this was possible but I don't see how, and I looked through the documentation.
You may have a look in the online_judge branch, where teams can see the sample input / output.
The first commit for this feature is: https://github.com/DOMjudge/domjudge/commit/177a655dc2da3de92d45e680a1965816...
One other question, if someone knows: is the information about the contest start time and end time available inside the renderScoreBoardTable function? I figured out how to do everything else I want with the scoreboard but there is one thing I want to do once the contest is half over. It looks like the information might be in the $cdata variable--is there a description of the internal data structures somewhere?
cdata is not available in the renderScoreBoardTable function. But you may pass it in the call in the putScoreBoardTable function which knows about cdata.
cdata contains all the columns of the contest table.
Our contest is Saturday and it looks like things are coming together...this is the first year I have been delving deep into DOMjudge, and I am impressed with what I have found. Thanks to the team for developing and maintaining the system.
Good luck with your contest. Please let us know if you need further help or find any bugs.
Tobi
Hi,
On 12-11-15 10:57, Tobias Werth wrote:
Hi Marc,
On 11/12/15 04:14, Marc Furon wrote:
Perhaps I'm mistaken...but isn't there a way for contestants to download the input and output files marked "sample" for a given file from inside DOMjudge? I thought this was possible but I don't see how, and I looked through the documentation.
You may have a look in the online_judge branch, where teams can see the sample input / output.
The first commit for this feature is: https://github.com/DOMjudge/domjudge/commit/177a655dc2da3de92d45e680a1965816...
If you're running on the 5.0 branch, you could also consider Keith Johnson's commit: https://github.com/ubergeek42/domjudge/commit/054c8c075b8db66ce81e810865d93e...
I think we should integrate this functionality in the main branch. There seem to be many people who want to use it.
Jaap
One other question, if someone knows: is the information about the contest start time and end time available inside the renderScoreBoardTable function? I figured out how to do everything else I want with the scoreboard but there is one thing I want to do once the contest is half over. It looks like the information might be in the $cdata variable--is there a description of the internal data structures somewhere?
cdata is not available in the renderScoreBoardTable function. But you may pass it in the call in the putScoreBoardTable function which knows about cdata.
cdata contains all the columns of the contest table.
Our contest is Saturday and it looks like things are coming together...this is the first year I have been delving deep into DOMjudge, and I am impressed with what I have found. Thanks to the team for developing and maintaining the system.
Good luck with your contest. Please let us know if you need further help or find any bugs.
Tobi
DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel
You may want this commit as well, which separates downloading the testcase data from showing the team how they did on the test case. It also gives options for the public to download sampletext/testcases or not.
https://github.com/ubergeek42/domjudge/commit/a94ab49b65765f9e5967064ac2d72b...
- Keith Johnson
-----Original Message----- From: DOMjudge-devel [mailto:domjudge-devel-bounces@domjudge.org] On Behalf Of Jaap Eldering Sent: Thursday, November 12, 2015 8:11 AM To: domjudge-devel@domjudge.org Subject: Re: Sample Data for Contestants?
Hi,
On 12-11-15 10:57, Tobias Werth wrote:
Hi Marc,
On 11/12/15 04:14, Marc Furon wrote:
Perhaps I'm mistaken...but isn't there a way for contestants to download the input and output files marked "sample" for a given file from inside DOMjudge? I thought this was possible but I don't see how, and I looked through the documentation.
You may have a look in the online_judge branch, where teams can see the sample input / output.
The first commit for this feature is:
https://github.com/DOMjudge/domjudge/commit/177a655dc2da3de92d45e 680a1965816a757cdca
If you're running on the 5.0 branch, you could also consider Keith Johnson's commit: https://github.com/ubergeek42/domjudge/commit/054c8c075b8db66ce81e 810865d93ea81ef89e7a
I think we should integrate this functionality in the main branch. There seem to be many people who want to use it.
Jaap
One other question, if someone knows: is the information about the contest start time and end time available inside the renderScoreBoardTable function? I figured out how to do everything else I want with the scoreboard but there is one thing I want to do once the contest is half over. It looks like the information might be in the $cdata variable--is there a description of the internal data structures somewhere?
cdata is not available in the renderScoreBoardTable function. But you may pass it in the call in the putScoreBoardTable function which knows about cdata.
cdata contains all the columns of the contest table.
Our contest is Saturday and it looks like things are coming together...this is the first year I have been delving deep into DOMjudge, and I am impressed with what I have found. Thanks to the team for developing and maintaining the system.
Good luck with your contest. Please let us know if you need further help or find any bugs.
Tobi
DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel
DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel