core: rejudge: skip ignored submissions

This commit is contained in:
undefined committed 2022-12-23 14:59:50 +08:00
1 parent b4f2efb139
commit 6cf6a57914
2 files changed
+5 -1

No files matched your search

+1
View File
@@ -442,6 +442,7 @@ export class ProblemDetailHandler extends ContestDetailBaseHandler {
const rdocs = await record.getMulti(domainId, {
pid,
contest: { $ne: new ObjectID('0'.repeat(24)) },
status: { $ne: STATUS.STATUS_CANCELED },
'files.hack': { $exists: false },
}).project({ _id: 1, contest: 1 }).toArray();
if (!this.pdoc.config || typeof this.pdoc.config === 'string') throw new ProblemConfigError();