DOMjudge / DOMjura

DOMjudge Results Application
https://domjudge.github.com/DOMjura
MIT License
24 stars 1 forks source link

Incorrectly Calculates Time and Penalty for After-Accept Submissions #5

Closed alirezaomidi closed 5 years ago

alirezaomidi commented 7 years ago

DOMjura's scoreboard differs from DOMjudge's scoreboard due to these reasons:

  1. DOMjura calculates the time of the last CORRECT answer for a problem which is incorrect. It should be the time of the first CORRECT one.
  2. DOMjura calculates penalty for after-correct incorrect submissions which means a team may get penalty if it sends wrong submissions after their CORRECT submission; which is incorrect. All of the incorrect submissoins after the first CORRECT one should be ommited in time calculations.

What is the solution?

alirezaomidi commented 7 years ago

Anybody? @meisterT @nickygerritsen @awesomefireduck

techhazard commented 7 years ago

The solution is to fix it? I'm no real C++ dev anymore and @nickygerritsen seems like the best candidate. But feel free to submit a PR with the changes and I'll look over it (I don't have any rights here)

nickygerritsen commented 7 years ago

Yeah I guess the fix wouldn't be too hard? But I haven't looked into the code for a while, so it might tale some time.

If you know C++, feel free to submit a PR.

nickygerritsen commented 5 years ago

Fixed using #8