diff --git a/web/app/controllers/problem.php b/web/app/controllers/problem.php index ca51a30..1b9be67 100644 --- a/web/app/controllers/problem.php +++ b/web/app/controllers/problem.php @@ -210,9 +210,15 @@ if ($pre_submit_check_ret === true && !$no_more_submission) { } $conf = UOJProblem::cur()->getProblemConf(); + +if (UOJContest::cur()) { + $pageTitle = UOJProblem::cur()->getTitle(['with' => 'letter', 'simplify' => true]); +} else { + $pageTitle = UOJProblem::cur()->getTitle(['with' => 'id']); +} ?> - +