mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
lint
This commit is contained in:
1 parent
d1e119fe7f
commit
f2a999aacb
2 files changed
+1
-2
No files matched your search
@@ -40,7 +40,7 @@ function judgeCase(c) {
|
|||||||
status = STATUS.STATUS_RUNTIME_ERROR;
|
status = STATUS.STATUS_RUNTIME_ERROR;
|
||||||
if (code < 32) message = signals[code];
|
if (code < 32) message = signals[code];
|
||||||
else message = { message: 'Your program returned {0}.', params: [code] };
|
else message = { message: 'Your program returned {0}.', params: [code] };
|
||||||
} else[status, score, message] = resInteractor.files.stderr.split('\n');
|
} else [status, score, message] = resInteractor.files.stderr.split('\n');
|
||||||
ctxSubtask.score = Score[ctxSubtask.subtask.type](ctxSubtask.score, score);
|
ctxSubtask.score = Score[ctxSubtask.subtask.type](ctxSubtask.score, score);
|
||||||
ctxSubtask.status = Math.max(ctxSubtask.status, status);
|
ctxSubtask.status = Math.max(ctxSubtask.status, status);
|
||||||
ctx.total_time_usage_ms += time_usage_ms;
|
ctx.total_time_usage_ms += time_usage_ms;
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ import { Dictionary } from 'lodash';
|
|||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import { STATUS } from './builtin';
|
import { STATUS } from './builtin';
|
||||||
import * as task from './task';
|
import * as task from './task';
|
||||||
import * as problem from './problem';
|
|
||||||
import {
|
import {
|
||||||
Rdoc, TestCase, RunConfig, ContestInfo, ProblemConfig,
|
Rdoc, TestCase, RunConfig, ContestInfo, ProblemConfig,
|
||||||
} from '../interface';
|
} from '../interface';
|
||||||
|
|||||||
Reference in new issue
Block a user