mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: problemStat: 支持重算分段人数
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user