diff --git a/web/app/models/UOJProblem.php b/web/app/models/UOJProblem.php index b101f32..f78575b 100644 --- a/web/app/models/UOJProblem.php +++ b/web/app/models/UOJProblem.php @@ -142,7 +142,7 @@ class UOJProblem { public function getDifficultyHTML() { $difficulty = (int)$this->info['difficulty']; - $difficulty_text = in_array($difficulty, static::$difficulty) ? $difficulty : '-'; + $difficulty_text = in_array($difficulty, static::$difficulty) ? $difficulty : '?'; $difficulty_color = in_array($difficulty, static::$difficulty) ? static::$difficulty_color[$difficulty] : '#7e7e7e'; return HTML::tag('span', ['class' => 'uoj-difficulty', 'style' => "color: $difficulty_color"], $difficulty_text);