mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
judge: bug fixes
This commit is contained in:
1 parent
fe0cd78db7
commit
5d0676a5d9
6 files changed
+17
-17
No files matched your search
@@ -435,8 +435,7 @@ export class ProblemDetailHandler extends ContestDetailBaseHandler {
|
||||
pid,
|
||||
contest: { $ne: new ObjectID('0'.repeat(24)) },
|
||||
status: { $ne: [STATUS.STATUS_HACK_SUCCESSFUL, STATUS.STATUS_HACK_UNSUCCESSFUL] },
|
||||
})
|
||||
.project({ _id: 1, contest: 1 }).toArray();
|
||||
}).project({ _id: 1, contest: 1 }).toArray();
|
||||
const priority = await record.submissionPriority(this.user._id, -rdocs.length * 5 - 50);
|
||||
await Promise.all(rdocs.map(
|
||||
(doc) => record.reset(domainId, doc._id, true)
|
||||
|
||||
Reference in new issue
Block a user