Hello, I'm currently new in this field and want to ask a few questions regarding creating a problem on domjudge.
First of all, I have one problem and I want to add it to the domserver. I have the pdf (text) for the question and .cpp for the solution. What do i have to configure to add the problem to the server, what is the meaning of run and compare script, and how do I insert the .cpp solutions file to the problem?
Thank you!
Hi!,
On Thu, June 30, 2022 14:59, gugelgantengbanget@gmail.com wrote:
Hello, I'm currently new in this field and want to ask a few questions regarding creating a problem on domjudge.
First of all, I have one problem and I want to add it to the domserver. I have the pdf (text) for the question and .cpp for the solution. What do i have to configure to add the problem to the server, what is the meaning of run and compare script, and how do I insert the .cpp solutions file to the problem?
I'm not sure if I understand you correctly. A "problem" in DOMjudge is in the simple case not a cpp program, but a specification of input and corresponding output.
It's the participants that will submit their solutions, be it in CPP or Java otherwise. This will be compiled and run with your specified input, which will be compared to the reference output testcases. The problem is solved if the output matches.
You can read about how submissions are judged in the manual: https://www.domjudge.org/docs/manual/8.0/judging.html#flow-of-a-submission
I hope this gets you started. The manual has many more topics. Do let us know if there's anything next we can help you with.
Kind regards, Thijs Kinkhorst DOMjudge