core: fix ledo scoreboard

This commit is contained in:
undefined committed 2023-12-14 17:59:59 +08:00
1 parent 453d9076b0
commit 0f7e2cfdea
1 file changed
+1 -1
+1 -1
View File
@@ -554,7 +554,7 @@ const ledo = buildContestRule({
for (const pid of tdoc.pids) {
row.push({
type: 'record',
value: tsddict[pid]?.penaltyScore || '',
value: tsddict[pid]?.penaltyScore?.toString() || '',
hover: tsddict[pid]?.ntry ? `-${tsddict[pid].ntry} (${Math.round(Math.max(0.7, 0.95 ** tsddict[pid].ntry) * 100)}%)` : '',
raw: tsddict[pid]?.rid,
style: tsddict[pid]?.status === STATUS.STATUS_ACCEPTED && tsddict[pid]?.rid.getTimestamp().getTime() === meta?.first?.[pid]