mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
vjudge: luogu: use data.score
This commit is contained in:
1 parent
dd037e36d7
commit
51176f71af
2 files changed
+2
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/vjudge",
|
||||
"version": "1.3.6",
|
||||
"version": "1.3.7",
|
||||
"description": "Submit problems to remote oj",
|
||||
"main": "package.json",
|
||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||
|
||||
@@ -162,7 +162,7 @@ export default class LuoguProvider implements IBasicProvider {
|
||||
// TODO calc total status
|
||||
return await end({
|
||||
status: STATUS_MAP[data.status],
|
||||
score: STATUS_MAP[data.status] === STATUS.STATUS_ACCEPTED ? 100 : 0,
|
||||
score: data.score,
|
||||
time: data.time,
|
||||
memory: data.memory,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user