|
|
|
@ -247,8 +247,7 @@ const oi = buildContestRule({
|
|
|
|
|
},
|
|
|
|
|
showScoreboard: (tdoc, now) => now > tdoc.endAt,
|
|
|
|
|
showSelfRecord: (tdoc, now) => now > tdoc.endAt,
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
|
|
|
showRecord: (tdoc, now) => now > tdoc.endAt && !isLocked(tdoc),
|
|
|
|
|
showRecord: (tdoc, now) => now > tdoc.endAt,
|
|
|
|
|
async scoreboardHeader(config, _, tdoc, pdict) {
|
|
|
|
|
const columns: ScoreboardNode[] = [
|
|
|
|
|
{ type: 'rank', value: '#' },
|
|
|
|
@ -372,7 +371,8 @@ const oi = buildContestRule({
|
|
|
|
|
const ioi = buildContestRule({
|
|
|
|
|
TEXT: 'IOI',
|
|
|
|
|
submitAfterAccept: false,
|
|
|
|
|
showRecord: (tdoc, now) => now > tdoc.endAt,
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
|
|
|
showRecord: (tdoc, now) => now > tdoc.endAt && !isLocked(tdoc),
|
|
|
|
|
showSelfRecord: () => true,
|
|
|
|
|
showScoreboard: (tdoc, now) => now > tdoc.beginAt,
|
|
|
|
|
}, oi);
|
|
|
|
|