mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-08 13:38:41 +00:00
feat(contest): ACM 赛制下不对 0 分题目计算罚时
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Fengyu Xie <63272948+Ignotus0@users.noreply.github.com> Co-authored-by: Baoshuo Ren <47095648+renbaoshuo@users.noreply.github.com>
This commit is contained in:
parent
3b05222867
commit
7e1e31283e
@ -387,6 +387,10 @@ function calcStandings($contest, $contest_data, &$score, &$standings, $cfg = [])
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($final_scr == 0) {
|
||||||
|
$penalty = 0;
|
||||||
|
}
|
||||||
|
|
||||||
$score[$uname][$pr] = [
|
$score[$uname][$pr] = [
|
||||||
$final_scr,
|
$final_scr,
|
||||||
$penalty,
|
$penalty,
|
||||||
|
Loading…
Reference in New Issue
Block a user