core: problemStat: 支持重算分段人数

This commit is contained in:
undefined committed 2021-06-13 11:49:35 +08:00
1 parent 6e06a27f2f
commit 382dd53c0c
3 files changed
+12 -16

No files matched your search

@@ -126,12 +126,6 @@ export const judge = async (ctx) => {
await Promise.all(tasks);
ctx.stat.done = new Date();
if (process.env.DEV) ctx.next({ message: JSON.stringify(ctx.stat) });
console.log({
status: ctx.total_status,
score: ctx.total_score,
time_ms: ctx.total_time_usage_ms,
memory_kb: ctx.total_memory_usage_kb,
});
ctx.end({
status: ctx.total_status,
score: ctx.total_score,