mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +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",
|
"name": "@hydrooj/vjudge",
|
||||||
"version": "1.3.6",
|
"version": "1.3.7",
|
||||||
"description": "Submit problems to remote oj",
|
"description": "Submit problems to remote oj",
|
||||||
"main": "package.json",
|
"main": "package.json",
|
||||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ export default class LuoguProvider implements IBasicProvider {
|
|||||||
// TODO calc total status
|
// TODO calc total status
|
||||||
return await end({
|
return await end({
|
||||||
status: STATUS_MAP[data.status],
|
status: STATUS_MAP[data.status],
|
||||||
score: STATUS_MAP[data.status] === STATUS.STATUS_ACCEPTED ? 100 : 0,
|
score: data.score,
|
||||||
time: data.time,
|
time: data.time,
|
||||||
memory: data.memory,
|
memory: data.memory,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user