mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: bug fixes
This commit is contained in:
1 parent
5baf8f3207
commit
7f7d674dc4
6 files changed
+10
-10
No files matched your search
@@ -6,7 +6,7 @@ export function parse(output: string, fullscore: number) {
|
||||
let status = STATUS.STATUS_WRONG_ANSWER;
|
||||
let score = 0;
|
||||
let builder = (msg: string) => msg;
|
||||
let message = output.substring(0, 1024);
|
||||
let message = `${output.substring(0, 1024)} `;
|
||||
if (output.startsWith('ok ')) {
|
||||
status = STATUS.STATUS_ACCEPTED;
|
||||
score = fullscore;
|
||||
|
||||
Reference in new issue
Block a user