diff --git a/web/app/controllers/contest_inside.php b/web/app/controllers/contest_inside.php index ee33aa0..6b7f418 100644 --- a/web/app/controllers/contest_inside.php +++ b/web/app/controllers/contest_inside.php @@ -427,6 +427,7 @@ function echoMySubmissions() { $options[] = ['value' => 'all', 'text' => '所有题目']; for ($i = 0; $i < count($problems); $i++) { $problem = UOJContestProblem::query($problems[$i]); + $problem->problem_number = $i; $options[] = [ 'value' => $problem->getLetter(), 'text' => $problem->getTitle(['with' => 'letter', 'simplify' => true]),