mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
vjudge: luogu: progress report
This commit is contained in:
1 parent
c8ec439b96
commit
d8bfbb0a22
3 files changed
+3
-2
No files matched your search
@@ -33,7 +33,7 @@ class Service {
|
||||
try {
|
||||
const rid = await this.api.submitProblem(task.target, task.lang, task.code, task, next, end);
|
||||
if (!rid) return;
|
||||
await next({ status: STATUS.STATUS_JUDGING });
|
||||
await next({ status: STATUS.STATUS_JUDGING, message: `ID = ${rid}` });
|
||||
await this.api.waitForSubmission(rid, next, end);
|
||||
} catch (e) {
|
||||
end({ status: STATUS.STATUS_SYSTEM_ERROR, message: e.message });
|
||||
|
||||
Reference in new issue
Block a user