Skip to content

Commit 44ac5d1

Browse files
authored
Merge pull request #1253 from 3w36zj6/master
AHCではDifficultyを非表示にする
2 parents fd98f6e + 2a0323e commit 44ac5d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

atcoder-problems-frontend/src/components/ProblemLink.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ export const ProblemLink: React.FC<Props> = (props) => {
5151
if (
5252
!showDifficulty ||
5353
problemModel === undefined ||
54-
(difficulty === undefined && !showDifficultyUnavailable)
54+
(difficulty === undefined && !showDifficultyUnavailable) ||
55+
/^ahc\d{3}$/g.test(contestId)
5556
) {
5657
return link;
5758
}

0 commit comments

Comments
 (0)