mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: disable pretest for remote_judge
This commit is contained in:
1 parent
520da964b6
commit
38b5d8d1ac
5 files changed
+31
-26
No files matched your search
@@ -46,7 +46,7 @@ const acm: ContestRule = {
|
||||
let time = 0;
|
||||
for (const j of journal) {
|
||||
if (tdoc.pids.includes(j.pid)
|
||||
&& !(effective[j.pid]?.status === STATUS.STATUS_ACCEPTED)) {
|
||||
&& effective[j.pid]?.status !== STATUS.STATUS_ACCEPTED) {
|
||||
effective[j.pid] = j;
|
||||
if (![STATUS.STATUS_ACCEPTED, STATUS.STATUS_COMPILE_ERROR].includes(j.status)) {
|
||||
naccept[j.pid] = (naccept[j.pid] || 0) + 1;
|
||||
|
||||
Reference in new issue
Block a user