mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
onsite-toolkit: resolver: fix penalty
This commit is contained in:
1 file changed
+1
-1
@@ -92,7 +92,7 @@ export function start(data: ResolverInput, options: DisplaySettings) {
|
||||
problem.pass = true;
|
||||
problem.time = Math.floor(submission.time / 60);
|
||||
team.score += 1;
|
||||
team.penalty += submission.time + problem.old * 20 * 60;
|
||||
team.penalty += Math.floor(submission.time / 60) + problem.old * 20;
|
||||
}
|
||||
problem.old += 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user