mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
judge: 修复spj的WA被报告为SystemError的错误
This commit is contained in:
1 parent
65e2cf9613
commit
9ba6bd41f5
2 files changed
+2
-2
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@hydrooj/hydrojudge",
|
||||
"bin": "bin/hydrojudge.js",
|
||||
"version": "2.1.5",
|
||||
"version": "2.1.6",
|
||||
"main": "package.json",
|
||||
"author": "masnn",
|
||||
"dependencies": {
|
||||
|
||||
@@ -169,7 +169,7 @@ const checkers: Record<string, Checker> = {
|
||||
...config.copyIn,
|
||||
},
|
||||
});
|
||||
if (status !== STATUS.STATUS_ACCEPTED) {
|
||||
if (status === STATUS.STATUS_SYSTEM_ERROR) {
|
||||
return {
|
||||
status: STATUS.STATUS_SYSTEM_ERROR,
|
||||
score: 0,
|
||||
|
||||
Reference in new issue
Block a user