Browse Source

Fix rejudge a AC submission to non-AC cause link to submission 0 in ACM

contest
master
Menci 8 years ago
parent
commit
34e084b1af
  1. 1
      models/contest_player.js

1
models/contest_player.js

@ -139,6 +139,7 @@ class ContestPlayer extends Model {
this.score_details[judge_state.problem_id].unacceptedCount = 0;
this.score_details[judge_state.problem_id].judge_id = 0;
this.score_details[judge_state.problem_id].accepted = 0;
for (let x of arr) {
if (x.accepted) {
this.score_details[judge_state.problem_id].accepted = true;

Loading…
Cancel
Save