diff --git a/judge/models/submission.py b/judge/models/submission.py index e7872c25..587248fb 100644 --- a/judge/models/submission.py +++ b/judge/models/submission.py @@ -142,6 +142,10 @@ def reject(self): for tc in queryset: tc.points = 0 tc.status = 'RJ' + tc.feedback = '' + tc.extended_feedback = '' + tc.time = 0 + tc.memory = 0 tc.save() self.update_contest()