mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
core: 修复自测不提供输入数据会进入评测流程的问题
This commit is contained in:
1 parent
bb856bacce
commit
33aaf1f2ea
8 files changed
+20
-45
No files matched your search
@@ -16,6 +16,7 @@ import {
|
||||
const logger = new Logger('judge');
|
||||
|
||||
async function _postJudge(rdoc: Rdoc) {
|
||||
if (typeof rdoc.input === 'string') return;
|
||||
const accept = rdoc.status === builtin.STATUS.STATUS_ACCEPTED;
|
||||
const tasks = [];
|
||||
if (rdoc.contest) {
|
||||
|
||||
Reference in new issue
Block a user