We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 281ba79 commit 38f5c58Copy full SHA for 38f5c58
atcoder-problems-frontend/src/pages/Internal/VirtualContest/ShowContest/ResultCalcUtil.ts
@@ -43,7 +43,7 @@ export function reduceUserContestResult<
43
const currentBest = result.get(submission.problem_id);
44
const lastUpdatedEpochSecond = submission.epoch_second;
45
if (currentBest) {
46
- if (currentBest.point < point) {
+ if (currentBest.point < point || (!currentBest.accepted && accepted)) {
47
result.set(problemId, {
48
trials: currentBest.trials + 1,
49
accepted: accepted || currentBest.accepted,
0 commit comments