vjudge: luogu: use data.score

pull/220/head
undefined 3 years ago
parent dd037e36d7
commit 51176f71af

@ -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,
});

Loading…
Cancel
Save